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

Unified Diff: content/browser/service_worker/service_worker_url_request_job_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_url_request_job_unittest.cc
diff --git a/content/browser/service_worker/service_worker_url_request_job_unittest.cc b/content/browser/service_worker/service_worker_url_request_job_unittest.cc
index d7d208cf16c9e4f2bbfe8049699214ec8bb300b7..12b4d589234708fd84904367a10b445181c8be60 100644
--- a/content/browser/service_worker/service_worker_url_request_job_unittest.cc
+++ b/content/browser/service_worker/service_worker_url_request_job_unittest.cc
@@ -59,7 +59,7 @@ class MockHttpProtocolHandler
virtual net::URLRequestJob* MaybeCreateJob(
net::URLRequest* request,
- net::NetworkDelegate* network_delegate) const OVERRIDE {
+ net::NetworkDelegate* network_delegate) const override {
ServiceWorkerURLRequestJob* job =
new ServiceWorkerURLRequestJob(request,
network_delegate,
@@ -98,7 +98,7 @@ class ServiceWorkerURLRequestJobTest : public testing::Test {
blob_data_(new storage::BlobData("blob-id:myblob")) {}
virtual ~ServiceWorkerURLRequestJobTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
browser_context_.reset(new TestBrowserContext);
SetUpWithHelper(new EmbeddedWorkerTestHelper(kProcessID));
}
@@ -141,7 +141,7 @@ class ServiceWorkerURLRequestJobTest : public testing::Test {
helper_->context()->AddProviderHost(provider_host.Pass());
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
version_ = NULL;
registration_ = NULL;
helper_.reset();
@@ -201,7 +201,7 @@ class BlobResponder : public EmbeddedWorkerTestHelper {
protected:
virtual void OnFetchEvent(int embedded_worker_id,
int request_id,
- const ServiceWorkerFetchRequest& request) OVERRIDE {
+ const ServiceWorkerFetchRequest& request) override {
SimulateSend(new ServiceWorkerHostMsg_FetchEventFinished(
embedded_worker_id,
request_id,

Powered by Google App Engine
This is Rietveld 408576698