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

Unified Diff: content/public/test/test_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/public/test/mock_storage_client.h ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_context.h
diff --git a/content/public/test/test_browser_context.h b/content/public/test/test_browser_context.h
index 35ab50eaaf7a241aa6770ad4e0ca82192d056aeb..a736cb9d99263312bafbb3ad0fc97d6c61d081c0 100644
--- a/content/public/test/test_browser_context.h
+++ b/content/public/test/test_browser_context.h
@@ -19,7 +19,7 @@ class MockResourceContext;
class TestBrowserContext : public BrowserContext {
public:
TestBrowserContext();
- virtual ~TestBrowserContext();
+ ~TestBrowserContext() override;
// Takes ownership of the temporary directory so that it's not deleted when
// this object is destructed.
@@ -27,24 +27,23 @@ class TestBrowserContext : public BrowserContext {
void SetSpecialStoragePolicy(storage::SpecialStoragePolicy* policy);
- 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;
private:
FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SessionOnly);
« no previous file with comments | « content/public/test/mock_storage_client.h ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698