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

Unified Diff: content/shell/browser/shell_browser_context.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (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
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/browser/shell_browser_main_parts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_browser_context.h
diff --git a/content/shell/browser/shell_browser_context.h b/content/shell/browser/shell_browser_context.h
index b7fb41b7cb5a9efa0f45ae08828db7e296c11aa7..d4e146fbf4e51acd3c33d1bb33b3e10de1609e55 100644
--- a/content/shell/browser/shell_browser_context.h
+++ b/content/shell/browser/shell_browser_context.h
@@ -27,7 +27,7 @@ class ShellDownloadManagerDelegate;
class ShellBrowserContext : public BrowserContext {
public:
ShellBrowserContext(bool off_the_record, net::NetLog* net_log);
- virtual ~ShellBrowserContext();
+ ~ShellBrowserContext() override;
void set_guest_manager_for_testing(
BrowserPluginGuestManager* guest_manager) {
@@ -35,24 +35,23 @@ class ShellBrowserContext : public BrowserContext {
}
// BrowserContext implementation.
- virtual base::FilePath GetPath() const override;
- virtual bool IsOffTheRecord() const override;
- virtual DownloadManagerDelegate* GetDownloadManagerDelegate() override;
- virtual net::URLRequestContextGetter* GetRequestContext() override;
- virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
+ base::FilePath GetPath() const override;
+ bool IsOffTheRecord() const override;
+ DownloadManagerDelegate* GetDownloadManagerDelegate() override;
+ net::URLRequestContextGetter* GetRequestContext() override;
+ net::URLRequestContextGetter* GetRequestContextForRenderProcess(
int renderer_child_id) override;
- virtual net::URLRequestContextGetter* GetMediaRequestContext() override;
- virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
+ net::URLRequestContextGetter* GetMediaRequestContext() override;
+ net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
int renderer_child_id) override;
- virtual net::URLRequestContextGetter*
- GetMediaRequestContextForStoragePartition(
- const base::FilePath& partition_path,
- bool in_memory) override;
- virtual ResourceContext* GetResourceContext() override;
- virtual BrowserPluginGuestManager* GetGuestManager() override;
- virtual storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
- virtual PushMessagingService* GetPushMessagingService() override;
- virtual SSLHostStateDelegate* GetSSLHostStateDelegate() override;
+ net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
+ const base::FilePath& partition_path,
+ bool in_memory) override;
+ ResourceContext* GetResourceContext() override;
+ BrowserPluginGuestManager* GetGuestManager() override;
+ storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
+ PushMessagingService* GetPushMessagingService() override;
+ SSLHostStateDelegate* GetSSLHostStateDelegate() override;
net::URLRequestContextGetter* CreateRequestContext(
ProtocolHandlerMap* protocol_handlers,
@@ -68,11 +67,11 @@ class ShellBrowserContext : public BrowserContext {
class ShellResourceContext : public ResourceContext {
public:
ShellResourceContext();
- virtual ~ShellResourceContext();
+ ~ShellResourceContext() override;
// ResourceContext implementation:
- virtual net::HostResolver* GetHostResolver() override;
- virtual net::URLRequestContext* GetRequestContext() override;
+ net::HostResolver* GetHostResolver() override;
+ net::URLRequestContext* GetRequestContext() override;
void set_url_request_context_getter(ShellURLRequestContextGetter* getter) {
getter_ = getter;
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/browser/shell_browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698