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

Unified Diff: content/browser/quota/mock_quota_manager.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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/browser/push_messaging_message_filter.h ('k') | content/browser/quota/mock_quota_manager_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/quota/mock_quota_manager.h
diff --git a/content/browser/quota/mock_quota_manager.h b/content/browser/quota/mock_quota_manager.h
index fd7a1c95b2400cbc10202c3efda13908e2f64d7f..a6bba10e985c4a474d0b3c98e978b0b66e8309be 100644
--- a/content/browser/quota/mock_quota_manager.h
+++ b/content/browser/quota/mock_quota_manager.h
@@ -51,18 +51,16 @@ class MockQuotaManager : public QuotaManager {
// updated when MockQuotaManagerProxy::NotifyStorageModified() is
// called. The internal quota value can be updated by calling
// a helper method MockQuotaManagerProxy::SetQuota().
- virtual void GetUsageAndQuota(
- const GURL& origin,
- storage::StorageType type,
- const GetUsageAndQuotaCallback& callback) override;
+ void GetUsageAndQuota(const GURL& origin,
+ storage::StorageType type,
+ const GetUsageAndQuotaCallback& callback) override;
// Overrides QuotaManager's implementation with a canned implementation that
// allows clients to set up the origin database that should be queried. This
// method will only search through the origins added explicitly via AddOrigin.
- virtual void GetOriginsModifiedSince(
- StorageType type,
- base::Time modified_since,
- const GetOriginsCallback& callback) override;
+ void GetOriginsModifiedSince(StorageType type,
+ base::Time modified_since,
+ const GetOriginsCallback& callback) override;
// Removes an origin from the canned list of origins, but doesn't touch
// anything on disk. The caller must provide |quota_client_mask| which
@@ -70,10 +68,10 @@ class MockQuotaManager : public QuotaManager {
// origin as a bitmask built from QuotaClient::IDs. Setting the mask to
// QuotaClient::kAllClientsMask will remove all clients from the origin,
// regardless of type.
- virtual void DeleteOriginData(const GURL& origin,
- StorageType type,
- int quota_client_mask,
- const StatusCallback& callback) override;
+ void DeleteOriginData(const GURL& origin,
+ StorageType type,
+ int quota_client_mask,
+ const StatusCallback& callback) override;
// Helper method for updating internal quota info.
void SetQuota(const GURL& origin, StorageType type, int64 quota);
@@ -97,7 +95,7 @@ class MockQuotaManager : public QuotaManager {
QuotaClient::ID quota_client) const;
protected:
- virtual ~MockQuotaManager();
+ ~MockQuotaManager() override;
private:
friend class MockQuotaManagerProxy;
« no previous file with comments | « content/browser/push_messaging_message_filter.h ('k') | content/browser/quota/mock_quota_manager_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698