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

Unified Diff: content/public/test/mock_storage_client.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_special_storage_policy.h ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_storage_client.h
diff --git a/content/public/test/mock_storage_client.h b/content/public/test/mock_storage_client.h
index 29c808c2ce12f2970bedac67969c9f2d3bc8564c..09ac94b68afebc613e0f5e8d0e69c8ad0d1266cb 100644
--- a/content/public/test/mock_storage_client.h
+++ b/content/public/test/mock_storage_client.h
@@ -39,7 +39,7 @@ class MockStorageClient : public QuotaClient {
const MockOriginData* mock_data,
QuotaClient::ID id,
size_t mock_data_size);
- virtual ~MockStorageClient();
+ ~MockStorageClient() override;
// To add or modify mock data in this client.
void AddOriginAndNotify(
@@ -53,19 +53,20 @@ class MockStorageClient : public QuotaClient {
base::Time IncrementMockTime();
// QuotaClient methods.
- virtual QuotaClient::ID id() const override;
- virtual void OnQuotaManagerDestroyed() override;
- virtual void GetOriginUsage(const GURL& origin_url,
- StorageType type,
- const GetUsageCallback& callback) override;
- virtual void GetOriginsForType(StorageType type,
- const GetOriginsCallback& callback) override;
- virtual void GetOriginsForHost(StorageType type, const std::string& host,
- const GetOriginsCallback& callback) override;
- virtual void DeleteOriginData(const GURL& origin,
- StorageType type,
- const DeletionCallback& callback) override;
- virtual bool DoesSupport(storage::StorageType type) const override;
+ QuotaClient::ID id() const override;
+ void OnQuotaManagerDestroyed() override;
+ void GetOriginUsage(const GURL& origin_url,
+ StorageType type,
+ const GetUsageCallback& callback) override;
+ void GetOriginsForType(StorageType type,
+ const GetOriginsCallback& callback) override;
+ void GetOriginsForHost(StorageType type,
+ const std::string& host,
+ const GetOriginsCallback& callback) override;
+ void DeleteOriginData(const GURL& origin,
+ StorageType type,
+ const DeletionCallback& callback) override;
+ bool DoesSupport(storage::StorageType type) const override;
private:
void RunGetOriginUsage(const GURL& origin_url,
« no previous file with comments | « content/public/test/mock_special_storage_policy.h ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698