| Index: net/base/network_delegate.h
|
| diff --git a/net/base/network_delegate.h b/net/base/network_delegate.h
|
| index 4be320b9305ccd869a76239eeb25834aa5d8a83d..70c8559f1ec34e38fea606c3fa8f7f4e8092637b 100644
|
| --- a/net/base/network_delegate.h
|
| +++ b/net/base/network_delegate.h
|
| @@ -71,8 +71,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);
|
| @@ -82,8 +81,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);
|
| @@ -155,8 +153,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);
|
| @@ -175,8 +172,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
|
| @@ -234,8 +230,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);
|
| };
|
|
|
| } // namespace net
|
|
|