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

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: chrome/browser/net/chrome_url_request_context.h
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index 359e5b99840f3c5fc73df078ef455dd443ce6b69..854a0980e4c48a079cbc7316ff97bd9afc8deb01 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -41,7 +41,7 @@ class ChromeURLRequestContext : public net::URLRequestContext {
return is_incognito_;
}
- virtual const std::string& GetUserAgent(const GURL& url) const;
+ virtual const std::string& GetUserAgent(const GURL& url) const OVERRIDE;
// TODO(willchan): Get rid of the need for this accessor. Really, this should
// move completely to ProfileIOData.
@@ -102,9 +102,10 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
// GetIOMessageLoopProxy however can be called from any thread.
//
// net::URLRequestContextGetter implementation.
- virtual net::URLRequestContext* GetURLRequestContext();
- virtual net::CookieStore* DONTUSEME_GetCookieStore();
- virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() const;
+ virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
+ virtual net::CookieStore* DONTUSEME_GetCookieStore() OVERRIDE;
+ virtual scoped_refptr<base::MessageLoopProxy>
+ GetIOMessageLoopProxy() const OVERRIDE;
// Convenience overload of GetURLRequestContext() that returns a
// ChromeURLRequestContext* rather than a net::URLRequestContext*.
@@ -159,7 +160,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details);
+ const content::NotificationDetails& details) OVERRIDE;
private:
// Must be called on the IO thread.

Powered by Google App Engine
This is Rietveld 408576698