Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: net/base/layered_network_delegate.h

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/tools/roll/ui_gl_init.patch ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/layered_network_delegate.h
diff --git a/net/base/layered_network_delegate.h b/net/base/layered_network_delegate.h
index 93c9d11274ac7a20daa42f1c974a263b68086de1..e4b6411395f1e88f43615aa3074e3a10d8ccd13d 100644
--- a/net/base/layered_network_delegate.h
+++ b/net/base/layered_network_delegate.h
@@ -40,55 +40,50 @@ class NET_EXPORT LayeredNetworkDelegate : public NetworkDelegate {
// NetworkDelegate implementation:
int OnBeforeURLRequest(URLRequest* request,
const CompletionCallback& callback,
- GURL* new_url) final override;
+ GURL* new_url) final;
void OnResolveProxy(const GURL& url,
int load_flags,
const ProxyService& proxy_service,
- ProxyInfo* result) final override;
- void OnProxyFallback(const ProxyServer& bad_proxy,
- int net_error) final override;
+ ProxyInfo* result) final;
+ void OnProxyFallback(const ProxyServer& bad_proxy, int net_error) final;
int OnBeforeSendHeaders(URLRequest* request,
const CompletionCallback& callback,
- HttpRequestHeaders* headers) final override;
+ HttpRequestHeaders* headers) final;
void OnBeforeSendProxyHeaders(URLRequest* request,
const ProxyInfo& proxy_info,
- HttpRequestHeaders* headers) final override;
+ HttpRequestHeaders* headers) final;
void OnSendHeaders(URLRequest* request,
- const HttpRequestHeaders& headers) final override;
+ const HttpRequestHeaders& headers) final;
int OnHeadersReceived(
URLRequest* request,
const CompletionCallback& callback,
const HttpResponseHeaders* original_response_headers,
scoped_refptr<HttpResponseHeaders>* override_response_headers,
- GURL* allowed_unsafe_redirect_url) final override;
- void OnBeforeRedirect(URLRequest* request,
- const GURL& new_location) final override;
- void OnResponseStarted(URLRequest* request) final override;
- void OnRawBytesRead(const URLRequest& request, int bytes_read) final override;
- void OnCompleted(URLRequest* request, bool started) final override;
- void OnURLRequestDestroyed(URLRequest* request) final override;
- void OnPACScriptError(int line_number,
- const base::string16& error) final override;
- AuthRequiredResponse OnAuthRequired(
- URLRequest* request,
- const AuthChallengeInfo& auth_info,
- const AuthCallback& callback,
- AuthCredentials* credentials) final override;
+ GURL* allowed_unsafe_redirect_url) final;
+ void OnBeforeRedirect(URLRequest* request, const GURL& new_location) final;
+ void OnResponseStarted(URLRequest* request) final;
+ void OnRawBytesRead(const URLRequest& request, int bytes_read) final;
+ void OnCompleted(URLRequest* request, bool started) final;
+ void OnURLRequestDestroyed(URLRequest* request) final;
+ void OnPACScriptError(int line_number, const base::string16& error) final;
+ AuthRequiredResponse OnAuthRequired(URLRequest* request,
+ const AuthChallengeInfo& auth_info,
+ const AuthCallback& callback,
+ AuthCredentials* credentials) final;
bool OnCanGetCookies(const URLRequest& request,
- const CookieList& cookie_list) final override;
+ const CookieList& cookie_list) final;
bool OnCanSetCookie(const URLRequest& request,
const std::string& cookie_line,
- CookieOptions* options) final override;
+ CookieOptions* options) final;
bool OnCanAccessFile(const URLRequest& request,
- const base::FilePath& path) const final override;
- bool OnCanThrottleRequest(const URLRequest& request) const final override;
- bool OnCanEnablePrivacyMode(
- const GURL& url,
- const GURL& first_party_for_cookies) const final override;
+ const base::FilePath& path) const final;
+ bool OnCanThrottleRequest(const URLRequest& request) const final;
+ bool OnCanEnablePrivacyMode(const GURL& url,
+ const GURL& first_party_for_cookies) const final;
bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
const URLRequest& request,
const GURL& target_url,
- const GURL& referrer_url) const final override;
+ const GURL& referrer_url) const final;
protected:
virtual void OnBeforeURLRequestInternal(URLRequest* request,
« no previous file with comments | « mojo/tools/roll/ui_gl_init.patch ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698