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

Unified Diff: content/browser/quota/usage_tracker_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
« no previous file with comments | « content/browser/quota/storage_monitor_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/quota/usage_tracker_unittest.cc
diff --git a/content/browser/quota/usage_tracker_unittest.cc b/content/browser/quota/usage_tracker_unittest.cc
index f135711fdcb081362f6631e66f91c801f3ae7f55..feb7a308134564f1b4c5e361b37e428b6d0c8c8e 100644
--- a/content/browser/quota/usage_tracker_unittest.cc
+++ b/content/browser/quota/usage_tracker_unittest.cc
@@ -47,15 +47,15 @@ class MockQuotaClient : public QuotaClient {
MockQuotaClient() {}
virtual ~MockQuotaClient() {}
- virtual ID id() const OVERRIDE {
+ virtual ID id() const override {
return kFileSystem;
}
- virtual void OnQuotaManagerDestroyed() OVERRIDE {}
+ virtual void OnQuotaManagerDestroyed() override {}
virtual void GetOriginUsage(const GURL& origin,
StorageType type,
- const GetUsageCallback& callback) OVERRIDE {
+ const GetUsageCallback& callback) override {
EXPECT_EQ(kStorageTypeTemporary, type);
int64 usage = GetUsage(origin);
base::MessageLoop::current()->PostTask(FROM_HERE,
@@ -63,7 +63,7 @@ class MockQuotaClient : public QuotaClient {
}
virtual void GetOriginsForType(StorageType type,
- const GetOriginsCallback& callback) OVERRIDE {
+ const GetOriginsCallback& callback) override {
EXPECT_EQ(kStorageTypeTemporary, type);
std::set<GURL> origins;
for (UsageMap::const_iterator itr = usage_map_.begin();
@@ -76,7 +76,7 @@ class MockQuotaClient : public QuotaClient {
virtual void GetOriginsForHost(StorageType type,
const std::string& host,
- const GetOriginsCallback& callback) OVERRIDE {
+ const GetOriginsCallback& callback) override {
EXPECT_EQ(kStorageTypeTemporary, type);
std::set<GURL> origins;
for (UsageMap::const_iterator itr = usage_map_.begin();
@@ -90,14 +90,14 @@ class MockQuotaClient : public QuotaClient {
virtual void DeleteOriginData(const GURL& origin,
StorageType type,
- const DeletionCallback& callback) OVERRIDE {
+ const DeletionCallback& callback) override {
EXPECT_EQ(kStorageTypeTemporary, type);
usage_map_.erase(origin);
base::MessageLoop::current()->PostTask(
FROM_HERE, base::Bind(callback, kQuotaStatusOk));
}
- virtual bool DoesSupport(storage::StorageType type) const OVERRIDE {
+ virtual bool DoesSupport(storage::StorageType type) const override {
return type == storage::kStorageTypeTemporary;
}
« no previous file with comments | « content/browser/quota/storage_monitor_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698