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

Unified Diff: chromecast/browser/url_request_context_factory.cc

Issue 837453003: Chromecast: virtual/override cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed a few spots Created 5 years, 11 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
« no previous file with comments | « chromecast/browser/test/chromecast_shell_browser_test.cc ('k') | chromecast/common/cast_content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/url_request_context_factory.cc
diff --git a/chromecast/browser/url_request_context_factory.cc b/chromecast/browser/url_request_context_factory.cc
index 0f66e84b6ef485b4fcd6384a68376d27e57b8a78..892fd003591393798a951340e36784ac67545a4f 100644
--- a/chromecast/browser/url_request_context_factory.cc
+++ b/chromecast/browser/url_request_context_factory.cc
@@ -58,7 +58,7 @@ class URLRequestContextFactory::URLRequestContextGetter
factory_(factory) {
}
- virtual net::URLRequestContext* GetURLRequestContext() override {
+ net::URLRequestContext* GetURLRequestContext() override {
if (!request_context_) {
if (is_media_) {
request_context_.reset(factory_->CreateMediaRequestContext());
@@ -73,14 +73,14 @@ class URLRequestContextFactory::URLRequestContextGetter
return request_context_.get();
}
- virtual scoped_refptr<base::SingleThreadTaskRunner>
+ scoped_refptr<base::SingleThreadTaskRunner>
GetNetworkTaskRunner() const override {
return content::BrowserThread::GetMessageLoopProxyForThread(
content::BrowserThread::IO);
}
private:
- virtual ~URLRequestContextGetter() {}
+ ~URLRequestContextGetter() override {}
const bool is_media_;
URLRequestContextFactory* const factory_;
@@ -105,7 +105,7 @@ class URLRequestContextFactory::MainURLRequestContextGetter
std::swap(protocol_handlers_, *protocol_handlers);
}
- virtual net::URLRequestContext* GetURLRequestContext() override {
+ net::URLRequestContext* GetURLRequestContext() override {
if (!request_context_) {
request_context_.reset(factory_->CreateMainRequestContext(
browser_context_, &protocol_handlers_, request_interceptors_.Pass()));
@@ -114,14 +114,14 @@ class URLRequestContextFactory::MainURLRequestContextGetter
return request_context_.get();
}
- virtual scoped_refptr<base::SingleThreadTaskRunner>
+ scoped_refptr<base::SingleThreadTaskRunner>
GetNetworkTaskRunner() const override {
return content::BrowserThread::GetMessageLoopProxyForThread(
content::BrowserThread::IO);
}
private:
- virtual ~MainURLRequestContextGetter() {}
+ ~MainURLRequestContextGetter() override {}
content::BrowserContext* const browser_context_;
URLRequestContextFactory* const factory_;
« no previous file with comments | « chromecast/browser/test/chromecast_shell_browser_test.cc ('k') | chromecast/common/cast_content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698