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

Unified Diff: components/cronet/android/url_request_context_adapter.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
Index: components/cronet/android/url_request_context_adapter.cc
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc
index 7c99244781d467e9d641e830c58adc62c440ea5c..fc7f921547503ad84e35a5d049f4e9dcd4bb8495 100644
--- a/components/cronet/android/url_request_context_adapter.cc
+++ b/components/cronet/android/url_request_context_adapter.cc
@@ -33,75 +33,75 @@ class BasicNetworkDelegate : public net::NetworkDelegate {
// net::NetworkDelegate implementation.
virtual int OnBeforeURLRequest(net::URLRequest* request,
const net::CompletionCallback& callback,
- GURL* new_url) OVERRIDE {
+ GURL* new_url) override {
return net::OK;
}
virtual int OnBeforeSendHeaders(net::URLRequest* request,
const net::CompletionCallback& callback,
- net::HttpRequestHeaders* headers) OVERRIDE {
+ net::HttpRequestHeaders* headers) override {
return net::OK;
}
virtual void OnSendHeaders(net::URLRequest* request,
- const net::HttpRequestHeaders& headers) OVERRIDE {}
+ const net::HttpRequestHeaders& headers) override {}
virtual int OnHeadersReceived(
net::URLRequest* request,
const net::CompletionCallback& callback,
const net::HttpResponseHeaders* original_response_headers,
scoped_refptr<net::HttpResponseHeaders>* _response_headers,
- GURL* allowed_unsafe_redirect_url) OVERRIDE {
+ GURL* allowed_unsafe_redirect_url) override {
return net::OK;
}
virtual void OnBeforeRedirect(net::URLRequest* request,
- const GURL& new_location) OVERRIDE {}
+ const GURL& new_location) override {}
- virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE {}
+ virtual void OnResponseStarted(net::URLRequest* request) override {}
virtual void OnRawBytesRead(const net::URLRequest& request,
- int bytes_read) OVERRIDE {}
+ int bytes_read) override {}
- virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE {}
+ virtual void OnCompleted(net::URLRequest* request, bool started) override {}
- virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE {}
+ virtual void OnURLRequestDestroyed(net::URLRequest* request) override {}
virtual void OnPACScriptError(int line_number,
- const base::string16& error) OVERRIDE {}
+ const base::string16& error) override {}
virtual NetworkDelegate::AuthRequiredResponse OnAuthRequired(
net::URLRequest* request,
const net::AuthChallengeInfo& auth_info,
const AuthCallback& callback,
- net::AuthCredentials* credentials) OVERRIDE {
+ net::AuthCredentials* credentials) override {
return net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_NO_ACTION;
}
virtual bool OnCanGetCookies(const net::URLRequest& request,
- const net::CookieList& cookie_list) OVERRIDE {
+ const net::CookieList& cookie_list) override {
return false;
}
virtual bool OnCanSetCookie(const net::URLRequest& request,
const std::string& cookie_line,
- net::CookieOptions* options) OVERRIDE {
+ net::CookieOptions* options) override {
return false;
}
virtual bool OnCanAccessFile(const net::URLRequest& request,
- const base::FilePath& path) const OVERRIDE {
+ const base::FilePath& path) const override {
return false;
}
virtual bool OnCanThrottleRequest(
- const net::URLRequest& request) const OVERRIDE {
+ const net::URLRequest& request) const override {
return false;
}
virtual int OnBeforeSocketStreamConnect(
net::SocketStream* stream,
- const net::CompletionCallback& callback) OVERRIDE {
+ const net::CompletionCallback& callback) override {
return net::OK;
}

Powered by Google App Engine
This is Rietveld 408576698