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

Unified Diff: content/browser/service_worker/service_worker_internals_ui.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_internals_ui.cc
diff --git a/content/browser/service_worker/service_worker_internals_ui.cc b/content/browser/service_worker/service_worker_internals_ui.cc
index 1d2a40908c1128110a5fddba7b048b35ffbf364c..b0e79a1d7cdcd0a8d3621cb4da05388af3287450 100644
--- a/content/browser/service_worker/service_worker_internals_ui.cc
+++ b/content/browser/service_worker/service_worker_internals_ui.cc
@@ -304,7 +304,7 @@ class ServiceWorkerInternalsUI::PartitionObserver
// ServiceWorkerContextObserver overrides:
virtual void OnWorkerStarted(int64 version_id,
int process_id,
- int thread_id) OVERRIDE {
+ int thread_id) override {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
web_ui_->CallJavascriptFunction(
"serviceworker.onWorkerStarted",
@@ -315,7 +315,7 @@ class ServiceWorkerInternalsUI::PartitionObserver
}
virtual void OnWorkerStopped(int64 version_id,
int process_id,
- int thread_id) OVERRIDE {
+ int thread_id) override {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
web_ui_->CallJavascriptFunction(
"serviceworker.onWorkerStopped",
@@ -324,7 +324,7 @@ class ServiceWorkerInternalsUI::PartitionObserver
FundamentalValue(process_id),
FundamentalValue(thread_id));
}
- virtual void OnVersionStateChanged(int64 version_id) OVERRIDE {
+ virtual void OnVersionStateChanged(int64 version_id) override {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
web_ui_->CallJavascriptFunction(
"serviceworker.onVersionStateChanged",
@@ -334,7 +334,7 @@ class ServiceWorkerInternalsUI::PartitionObserver
virtual void OnErrorReported(int64 version_id,
int process_id,
int thread_id,
- const ErrorInfo& info) OVERRIDE {
+ const ErrorInfo& info) override {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
ScopedVector<const Value> args;
args.push_back(new FundamentalValue(partition_id_));
@@ -353,7 +353,7 @@ class ServiceWorkerInternalsUI::PartitionObserver
virtual void OnReportConsoleMessage(int64 version_id,
int process_id,
int thread_id,
- const ConsoleMessage& message) OVERRIDE {
+ const ConsoleMessage& message) override {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
ScopedVector<const Value> args;
args.push_back(new FundamentalValue(partition_id_));
@@ -370,12 +370,12 @@ class ServiceWorkerInternalsUI::PartitionObserver
web_ui_->CallJavascriptFunction("serviceworker.onConsoleMessageReported",
args.get());
}
- virtual void OnRegistrationStored(const GURL& pattern) OVERRIDE {
+ virtual void OnRegistrationStored(const GURL& pattern) override {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
web_ui_->CallJavascriptFunction("serviceworker.onRegistrationStored",
StringValue(pattern.spec()));
}
- virtual void OnRegistrationDeleted(const GURL& pattern) OVERRIDE {
+ virtual void OnRegistrationDeleted(const GURL& pattern) override {
web_ui_->CallJavascriptFunction("serviceworker.onRegistrationDeleted",
StringValue(pattern.spec()));
}

Powered by Google App Engine
This is Rietveld 408576698