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

Unified Diff: content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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/service_worker/service_worker_cache_storage_manager_unittest.cc
diff --git a/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc b/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc
index e33bb68ddb640ad136fa7f7dd500641db2b6ed37..a9cf8fbfe7b6632c1c86db3540957242a51f19a0 100644
--- a/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc
+++ b/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc
@@ -29,7 +29,7 @@ class ServiceWorkerCacheStorageManagerTest : public testing::Test {
origin1_("http://example1.com"),
origin2_("http://example2.com") {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ChromeBlobStorageContext* blob_storage_context(
ChromeBlobStorageContext::GetFor(&browser_context_));
// Wait for ChromeBlobStorageContext to finish initializing.
@@ -50,7 +50,7 @@ class ServiceWorkerCacheStorageManagerTest : public testing::Test {
url_request_context, blob_storage_context->context()->AsWeakPtr());
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
base::RunLoop().RunUntilIdle();
}
@@ -241,13 +241,13 @@ class ServiceWorkerCacheStorageManagerTest : public testing::Test {
class ServiceWorkerCacheStorageManagerMemoryOnlyTest
: public ServiceWorkerCacheStorageManagerTest {
- virtual bool MemoryOnly() OVERRIDE { return true; }
+ virtual bool MemoryOnly() override { return true; }
};
class ServiceWorkerCacheStorageManagerTestP
: public ServiceWorkerCacheStorageManagerTest,
public testing::WithParamInterface<bool> {
- virtual bool MemoryOnly() OVERRIDE { return !GetParam(); }
+ virtual bool MemoryOnly() override { return !GetParam(); }
};
TEST_F(ServiceWorkerCacheStorageManagerTest, TestsRunOnIOThread) {

Powered by Google App Engine
This is Rietveld 408576698