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

Unified Diff: chrome/browser/apps/ephemeral_app_browsertest.cc

Issue 668903002: Standardize usage of virtual/override/final in chrome/browser/apps/ (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 | « chrome/browser/apps/ephemeral_app_browsertest.h ('k') | chrome/browser/apps/ephemeral_app_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/ephemeral_app_browsertest.cc
diff --git a/chrome/browser/apps/ephemeral_app_browsertest.cc b/chrome/browser/apps/ephemeral_app_browsertest.cc
index 0eab2b6c9f27a50b59c81c4f34afee606bbe48de..e21b2b8036843cb707424f969ad7fe11c77d4922 100644
--- a/chrome/browser/apps/ephemeral_app_browsertest.cc
+++ b/chrome/browser/apps/ephemeral_app_browsertest.cc
@@ -105,7 +105,7 @@ class InstallObserver : public ExtensionRegistryObserver {
registry_observer_.Add(ExtensionRegistry::Get(profile));
}
- virtual ~InstallObserver() {}
+ ~InstallObserver() override {}
const InstallParameters& Last() {
CHECK(!install_params_.empty());
@@ -113,12 +113,11 @@ class InstallObserver : public ExtensionRegistryObserver {
}
private:
- virtual void OnExtensionWillBeInstalled(
- content::BrowserContext* browser_context,
- const Extension* extension,
- bool is_update,
- bool from_ephemeral,
- const std::string& old_name) override {
+ void OnExtensionWillBeInstalled(content::BrowserContext* browser_context,
+ const Extension* extension,
+ bool is_update,
+ bool from_ephemeral,
+ const std::string& old_name) override {
install_params_.push_back(
InstallParameters(extension->id(), is_update, from_ephemeral));
}
@@ -158,7 +157,7 @@ class PowerSaveBlockerStub : public content::PowerSaveBlocker {
power_settings_->request_keep_awake();
}
- virtual ~PowerSaveBlockerStub() { power_settings_->release_keep_awake(); }
+ ~PowerSaveBlockerStub() override { power_settings_->release_keep_awake(); }
static scoped_ptr<PowerSaveBlocker> Create(PowerSettingsMock* power_settings,
PowerSaveBlockerType type,
« no previous file with comments | « chrome/browser/apps/ephemeral_app_browsertest.h ('k') | chrome/browser/apps/ephemeral_app_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698