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

Unified Diff: content/browser/service_worker/service_worker_storage_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_storage_unittest.cc
diff --git a/content/browser/service_worker/service_worker_storage_unittest.cc b/content/browser/service_worker/service_worker_storage_unittest.cc
index ea615026ad3218db24f673c68f4f439a6c949195..c6687a6f4f1b0e78d3a97d9f1ccc008bb015da35 100644
--- a/content/browser/service_worker/service_worker_storage_unittest.cc
+++ b/content/browser/service_worker/service_worker_storage_unittest.cc
@@ -191,7 +191,7 @@ class ServiceWorkerStorageTest : public testing::Test {
: browser_thread_bundle_(TestBrowserThreadBundle::IO_MAINLOOP) {
}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
context_.reset(
new ServiceWorkerContextCore(GetUserDataDirectory(),
base::ThreadTaskRunnerHandle::Get(),
@@ -203,7 +203,7 @@ class ServiceWorkerStorageTest : public testing::Test {
context_ptr_ = context_->AsWeakPtr();
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
context_.reset();
}
@@ -544,7 +544,7 @@ TEST_F(ServiceWorkerStorageTest, InstallingRegistrationsAreFindable) {
class ServiceWorkerResourceStorageTest : public ServiceWorkerStorageTest {
public:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ServiceWorkerStorageTest::SetUp();
storage()->LazyInitialize(base::Bind(&base::DoNothing));
@@ -612,12 +612,12 @@ class ServiceWorkerResourceStorageTest : public ServiceWorkerStorageTest {
class ServiceWorkerResourceStorageDiskTest
: public ServiceWorkerResourceStorageTest {
public:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(user_data_directory_.CreateUniqueTempDir());
ServiceWorkerResourceStorageTest::SetUp();
}
- virtual base::FilePath GetUserDataDirectory() OVERRIDE {
+ virtual base::FilePath GetUserDataDirectory() override {
return user_data_directory_.path();
}

Powered by Google App Engine
This is Rietveld 408576698