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

Unified Diff: content/browser/quota/quota_backend_impl_unittest.cc

Issue 638503002: Replacing the OVERRIDE with override and FINAL with final in content/browser/[download|… (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: content/browser/quota/quota_backend_impl_unittest.cc
diff --git a/content/browser/quota/quota_backend_impl_unittest.cc b/content/browser/quota/quota_backend_impl_unittest.cc
index 335a0668c0f6ed080df4cf8da0f1b4aafd04d211..8a13ed66ace46bfb5edff83b141f35a2adb8cfe1 100644
--- a/content/browser/quota/quota_backend_impl_unittest.cc
+++ b/content/browser/quota/quota_backend_impl_unittest.cc
@@ -46,17 +46,17 @@ class MockQuotaManagerProxy : public storage::QuotaManagerProxy {
usage_(0), quota_(0) {}
// We don't mock them.
- virtual void NotifyOriginInUse(const GURL& origin) OVERRIDE {}
- virtual void NotifyOriginNoLongerInUse(const GURL& origin) OVERRIDE {}
+ virtual void NotifyOriginInUse(const GURL& origin) override {}
+ virtual void NotifyOriginNoLongerInUse(const GURL& origin) override {}
virtual void SetUsageCacheEnabled(storage::QuotaClient::ID client_id,
const GURL& origin,
storage::StorageType type,
- bool enabled) OVERRIDE {}
+ bool enabled) override {}
virtual void NotifyStorageModified(storage::QuotaClient::ID client_id,
const GURL& origin,
storage::StorageType type,
- int64 delta) OVERRIDE {
+ int64 delta) override {
++storage_modified_count_;
usage_ += delta;
ASSERT_LE(usage_, quota_);
@@ -66,7 +66,7 @@ class MockQuotaManagerProxy : public storage::QuotaManagerProxy {
base::SequencedTaskRunner* original_task_runner,
const GURL& origin,
storage::StorageType type,
- const GetUsageAndQuotaCallback& callback) OVERRIDE {
+ const GetUsageAndQuotaCallback& callback) override {
callback.Run(storage::kQuotaStatusOk, usage_, quota_);
}
@@ -94,7 +94,7 @@ class QuotaBackendImplTest : public testing::Test {
: file_system_usage_cache_(file_task_runner()),
quota_manager_proxy_(new MockQuotaManagerProxy) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(data_dir_.CreateUniqueTempDir());
in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default()));
file_util_.reset(ObfuscatedFileUtil::CreateForTesting(
@@ -105,7 +105,7 @@ class QuotaBackendImplTest : public testing::Test {
quota_manager_proxy_.get()));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
backend_.reset();
quota_manager_proxy_ = NULL;
file_util_.reset();
« no previous file with comments | « content/browser/quota/mock_quota_manager_proxy.h ('k') | content/browser/quota/quota_reservation_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698