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

Unified Diff: extensions/browser/process_manager_unittest.cc

Issue 664933004: Standardize usage of virtual/override/final in extensions/ (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 | « extensions/browser/process_manager.cc ('k') | extensions/browser/process_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/process_manager_unittest.cc
diff --git a/extensions/browser/process_manager_unittest.cc b/extensions/browser/process_manager_unittest.cc
index 48bc9529c7bee5cd62861008ef62ca0ed44c4dfc..eff5a15153634c9b7ba3744464a06ded75859687 100644
--- a/extensions/browser/process_manager_unittest.cc
+++ b/extensions/browser/process_manager_unittest.cc
@@ -27,10 +27,10 @@ namespace {
class TestBrowserContextIncognito : public TestBrowserContext {
public:
TestBrowserContextIncognito() {}
- virtual ~TestBrowserContextIncognito() {}
+ ~TestBrowserContextIncognito() override {}
// TestBrowserContext implementation.
- virtual bool IsOffTheRecord() const override { return true; }
+ bool IsOffTheRecord() const override { return true; }
private:
DISALLOW_COPY_AND_ASSIGN(TestBrowserContextIncognito);
@@ -42,13 +42,13 @@ class TestProcessManagerDelegate : public ProcessManagerDelegate {
TestProcessManagerDelegate()
: is_background_page_allowed_(true),
defer_creating_startup_background_hosts_(false) {}
- virtual ~TestProcessManagerDelegate() {}
+ ~TestProcessManagerDelegate() override {}
// ProcessManagerDelegate implementation.
- virtual bool IsBackgroundPageAllowed(BrowserContext* context) const override {
+ bool IsBackgroundPageAllowed(BrowserContext* context) const override {
return is_background_page_allowed_;
}
- virtual bool DeferCreatingStartupBackgroundHosts(
+ bool DeferCreatingStartupBackgroundHosts(
BrowserContext* context) const override {
return defer_creating_startup_background_hosts_;
}
« no previous file with comments | « extensions/browser/process_manager.cc ('k') | extensions/browser/process_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698