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

Unified Diff: content/browser/service_worker/service_worker_context_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_context_unittest.cc
diff --git a/content/browser/service_worker/service_worker_context_unittest.cc b/content/browser/service_worker/service_worker_context_unittest.cc
index d9331ee2468ccd2bda40f549ab51bad51ead961a..028f3cbb91d0cdfd334ea95d815f438c902fbc6c 100644
--- a/content/browser/service_worker/service_worker_context_unittest.cc
+++ b/content/browser/service_worker/service_worker_context_unittest.cc
@@ -79,7 +79,7 @@ class RejectInstallTestHelper : public EmbeddedWorkerTestHelper {
virtual void OnInstallEvent(int embedded_worker_id,
int request_id,
- int active_version_id) OVERRIDE {
+ int active_version_id) override {
SimulateSend(
new ServiceWorkerHostMsg_InstallEventFinished(
embedded_worker_id, request_id,
@@ -93,7 +93,7 @@ class RejectActivateTestHelper : public EmbeddedWorkerTestHelper {
: EmbeddedWorkerTestHelper(mock_render_process_id) {}
virtual void OnActivateEvent(int embedded_worker_id,
- int request_id) OVERRIDE {
+ int request_id) override {
SimulateSend(
new ServiceWorkerHostMsg_ActivateEventFinished(
embedded_worker_id, request_id,
@@ -109,11 +109,11 @@ class ServiceWorkerContextTest : public testing::Test {
: browser_thread_bundle_(TestBrowserThreadBundle::IO_MAINLOOP),
render_process_id_(99) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
helper_.reset(new EmbeddedWorkerTestHelper(render_process_id_));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
helper_.reset();
}

Powered by Google App Engine
This is Rietveld 408576698