| Index: net/base/network_delegate.h
|
| diff --git a/net/base/network_delegate.h b/net/base/network_delegate.h
|
| index 299989c9dab19737c9b54d79031a49a6574c849a..af92ff3eda3a340fdb87140873d55328a530100a 100644
|
| --- a/net/base/network_delegate.h
|
| +++ b/net/base/network_delegate.h
|
| @@ -67,8 +67,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
|
| int load_flags,
|
| const ProxyService& proxy_service,
|
| ProxyInfo* result);
|
| - void NotifyProxyFallback(const ProxyServer& bad_proxy,
|
| - int net_error);
|
| + void NotifyProxyFallback(const ProxyServer& bad_proxy, int net_error);
|
| int NotifyBeforeSendHeaders(URLRequest* request,
|
| const CompletionCallback& callback,
|
| HttpRequestHeaders* headers);
|
| @@ -83,8 +82,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
|
| const HttpResponseHeaders* original_response_headers,
|
| scoped_refptr<HttpResponseHeaders>* override_response_headers,
|
| GURL* allowed_unsafe_redirect_url);
|
| - void NotifyBeforeRedirect(URLRequest* request,
|
| - const GURL& new_location);
|
| + void NotifyBeforeRedirect(URLRequest* request, const GURL& new_location);
|
| void NotifyResponseStarted(URLRequest* request);
|
| void NotifyRawBytesRead(const URLRequest& request, int bytes_read);
|
| void NotifyCompleted(URLRequest* request, bool started);
|
| @@ -94,8 +92,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
|
| const AuthChallengeInfo& auth_info,
|
| const AuthCallback& callback,
|
| AuthCredentials* credentials);
|
| - bool CanGetCookies(const URLRequest& request,
|
| - const CookieList& cookie_list);
|
| + bool CanGetCookies(const URLRequest& request, const CookieList& cookie_list);
|
| bool CanSetCookie(const URLRequest& request,
|
| const std::string& cookie_line,
|
| CookieOptions* options);
|
| @@ -146,8 +143,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
|
| // the network error encountered, if any, and OK if the fallback was
|
| // for a reason other than a network error (e.g. the proxy service was
|
| // explicitly directed to skip a proxy).
|
| - virtual void OnProxyFallback(const ProxyServer& bad_proxy,
|
| - int net_error);
|
| + virtual void OnProxyFallback(const ProxyServer& bad_proxy, int net_error);
|
|
|
| // Called right before the HTTP headers are sent. Allows the delegate to
|
| // read/write |headers| before they get sent out. |callback| and |headers| are
|
| @@ -194,8 +190,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
|
| // Called right after a redirect response code was received.
|
| // |new_location| is only valid until OnURLRequestDestroyed is called for this
|
| // request.
|
| - virtual void OnBeforeRedirect(URLRequest* request,
|
| - const GURL& new_location);
|
| + virtual void OnBeforeRedirect(URLRequest* request, const GURL& new_location);
|
|
|
| // This corresponds to URLRequestDelegate::OnResponseStarted.
|
| virtual void OnResponseStarted(URLRequest* request);
|
| @@ -214,8 +209,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
|
| virtual void OnURLRequestDestroyed(URLRequest* request);
|
|
|
| // Corresponds to ProxyResolverJSBindings::OnError.
|
| - virtual void OnPACScriptError(int line_number,
|
| - const base::string16& error);
|
| + virtual void OnPACScriptError(int line_number, const base::string16& error);
|
|
|
| // Called when a request receives an authentication challenge
|
| // specified by |auth_info|, and is unable to respond using cached
|
| @@ -273,8 +267,8 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
|
|
|
| // Called before a SocketStream tries to connect.
|
| // See OnBeforeURLRequest for return value description. Returns OK by default.
|
| - virtual int OnBeforeSocketStreamConnect(
|
| - SocketStream* socket, const CompletionCallback& callback);
|
| + virtual int OnBeforeSocketStreamConnect(SocketStream* socket,
|
| + const CompletionCallback& callback);
|
|
|
| // Called when the |referrer_url| for requesting |target_url| during handling
|
| // of the |request| is does not comply with the referrer policy (e.g. a
|
|
|