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

Unified Diff: extensions/browser/api/storage/settings_test_util.h

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
Index: extensions/browser/api/storage/settings_test_util.h
diff --git a/extensions/browser/api/storage/settings_test_util.h b/extensions/browser/api/storage/settings_test_util.h
index 698792fc5d860c5fd465cd9c6c420f5a36d25a5b..262d1c1dc8cb01912dbe5ad2caff171ea8b06f3f 100644
--- a/extensions/browser/api/storage/settings_test_util.h
+++ b/extensions/browser/api/storage/settings_test_util.h
@@ -60,13 +60,13 @@ scoped_refptr<const Extension> AddExtensionWithIdAndPermissions(
class MockExtensionSystemWithEventRouter : public MockExtensionSystem {
public:
explicit MockExtensionSystemWithEventRouter(content::BrowserContext* context);
- virtual ~MockExtensionSystemWithEventRouter();
+ ~MockExtensionSystemWithEventRouter() override;
// Factory method for SetTestingFactoryAndUse.
static KeyedService* Build(content::BrowserContext* context);
// MockExtensionSystem overrides:
- virtual EventRouter* event_router() override;
+ EventRouter* event_router() override;
private:
scoped_ptr<EventRouter> event_router_;
@@ -86,15 +86,14 @@ class ScopedSettingsStorageFactory : public SettingsStorageFactory {
void Reset(const scoped_refptr<SettingsStorageFactory>& delegate);
// SettingsStorageFactory implementation.
- virtual ValueStore* Create(const base::FilePath& base_path,
- const std::string& extension_id) override;
- virtual void DeleteDatabaseIfExists(
- const base::FilePath& base_path,
- const std::string& extension_id) override;
+ ValueStore* Create(const base::FilePath& base_path,
+ const std::string& extension_id) override;
+ void DeleteDatabaseIfExists(const base::FilePath& base_path,
+ const std::string& extension_id) override;
private:
// SettingsStorageFactory is refcounted.
- virtual ~ScopedSettingsStorageFactory();
+ ~ScopedSettingsStorageFactory() override;
scoped_refptr<SettingsStorageFactory> delegate_;
};
« no previous file with comments | « extensions/browser/api/storage/settings_storage_quota_enforcer.h ('k') | extensions/browser/api/storage/storage_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698