Commit 42c5126c authored by Maks Orlovich's avatar Maks Orlovich Committed by Commit Bot

Fix the typos in network_context.mojom Tricium keeps complaining about.

Cq-Include-Trybots: luci.chromium.try:linux_mojo
Change-Id: I305000589be2e48356c1c7168269edd83cf9a7ec
Reviewed-on: https://chromium-review.googlesource.com/1191284Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
Commit-Queue: Maks Orlovich <morlovich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586376}
parent 212dfda2
......@@ -79,7 +79,7 @@ struct NetworkContextParams {
bool persist_session_cookies = false;
// Points to the channel ID file. If a cookie file is specified, this must be
// specifed as well. Otherwise an in-memory store is used.
// specified as well. Otherwise an in-memory store is used.
mojo_base.mojom.FilePath? channel_id_path;
// True if an HTTP cache should be used.
......@@ -124,13 +124,13 @@ struct NetworkContextParams {
// Enables HTTP/0.9 on ports other than 80 for HTTP and 443 for HTTPS.
bool http_09_on_non_default_ports_enabled = false;
// SSL configuration. |intial_proxy_config| is the initial SSL configuration
// SSL configuration. |initial_proxy_config| is the initial SSL configuration
// to use. If nullptr, uses the default configuration. Updated SSL
// configurations can be passed in via |ssl_config_client_request|.
SSLConfig? initial_ssl_config;
SSLConfigClient&? ssl_config_client_request;
// Proxy configuration. If |intial_proxy_config| is set, it's the initial
// Proxy configuration. If |initial_proxy_config| is set, it's the initial
// proxy configuration. Updated proxy configuration can be passed in via
// |proxy_config_client_request|. If |initial_proxy_config| is not set,
// proxy lookups will be deferred until a configuration is received via
......@@ -296,7 +296,7 @@ const uint32 kInvalidProcessId = 0xffffffff;
struct URLLoaderFactoryParams {
// Process requesting the URLLoaderFactory.
// Set to kBrowserProcessId to indicate the brower process.
// Set to kBrowserProcessId to indicate the browser process.
uint32 process_id = kInvalidProcessId;
// Cross-origin read blocking (CORB) configuration.
......@@ -428,7 +428,7 @@ interface NetworkContext {
CloseAllConnections() => ();
// Configures network conditions for the specified throttling profile.
// The throttling will be applied only to requests that have maching
// The throttling will be applied only to requests that have matching
// throttling_profile_id.
// Passing null NetworkConditions disables the throttling.
SetNetworkConditions(mojo_base.mojom.UnguessableToken throttling_profile_id,
......@@ -557,21 +557,21 @@ interface NetworkContext {
// TODO(crbug.com/821021): Consider deleting this if most/all usage goes
// through CreateHostResolver, but most likely most usage except proxy
// resolver will directly use this method.
ResolveHost(HostPortPair host,
ResolveHostParameters? optional_parameters,
ResolveHostClient response_client);
// Creates a HostResolver interface that can be passed to code/processes
// without direct access to NetworkContext to make ResolveHost requests.
//
// If this NetworkContext is destroyed, all outstanding requests from child
// HostResolvers will be cancelled. Such requests will receive ERR_FAILED via
// |response_client|.
//
// TODO(crbug.com/821021): If necessary as usage and functionality is added to
// the contained ResolveHost method, consider adding the ability for this to
// be a restricted resolver with some functionality disabled (eg maybe MDNS).
CreateHostResolver(HostResolver& host_resolver);
ResolveHost(HostPortPair host,
ResolveHostParameters? optional_parameters,
ResolveHostClient response_client);
// Creates a HostResolver interface that can be passed to code/processes
// without direct access to NetworkContext to make ResolveHost requests.
//
// If this NetworkContext is destroyed, all outstanding requests from child
// HostResolvers will be cancelled. Such requests will receive ERR_FAILED via
// |response_client|.
//
// TODO(crbug.com/821021): If necessary as usage and functionality is added to
// the contained ResolveHost method, consider adding the ability for this to
// be a restricted resolver with some functionality disabled (eg maybe MDNS).
CreateHostResolver(HostResolver& host_resolver);
// Caches |data| associated with |url| and |expected_response_time| in the
// HttpCache related to this NetworkContext.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment