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

Unified Diff: chrome/browser/ui/webui/sync_internals_message_handler.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/ui/webui/sync_internals_message_handler.h
diff --git a/chrome/browser/ui/webui/sync_internals_message_handler.h b/chrome/browser/ui/webui/sync_internals_message_handler.h
index b87014f1b512bafeeebf87a9b430cb2999d3aa52..81e79231e0bf9e9cfdf7ae6827353c413bf498d2 100644
--- a/chrome/browser/ui/webui/sync_internals_message_handler.h
+++ b/chrome/browser/ui/webui/sync_internals_message_handler.h
@@ -29,9 +29,9 @@ class SyncInternalsMessageHandler : public content::WebUIMessageHandler,
public syncer::TypeDebugInfoObserver {
public:
SyncInternalsMessageHandler();
- virtual ~SyncInternalsMessageHandler();
+ ~SyncInternalsMessageHandler() override;
- virtual void RegisterMessages() override;
+ void RegisterMessages() override;
// Sets up observers to receive events and forward them to the UI.
void HandleRegisterForEvents(const base::ListValue* args);
@@ -49,29 +49,25 @@ class SyncInternalsMessageHandler : public content::WebUIMessageHandler,
void HandleGetAllNodes(const base::ListValue* args);
// syncer::JsEventHandler implementation.
- virtual void HandleJsEvent(
- const std::string& name,
- const syncer::JsEventDetails& details) override;
+ void HandleJsEvent(const std::string& name,
+ const syncer::JsEventDetails& details) override;
// Callback used in GetAllNodes.
void OnReceivedAllNodes(int request_id, scoped_ptr<base::ListValue> nodes);
// ProfileSyncServiceObserver implementation.
- virtual void OnStateChanged() override;
+ void OnStateChanged() override;
// ProtocolEventObserver implementation.
- virtual void OnProtocolEvent(const syncer::ProtocolEvent& e) override;
+ void OnProtocolEvent(const syncer::ProtocolEvent& e) override;
// TypeDebugInfoObserver implementation.
- virtual void OnCommitCountersUpdated(
- syncer::ModelType type,
- const syncer::CommitCounters& counters) override;
- virtual void OnUpdateCountersUpdated(
- syncer::ModelType type,
- const syncer::UpdateCounters& counters) override;
- virtual void OnStatusCountersUpdated(
- syncer::ModelType type,
- const syncer::StatusCounters& counters) override;
+ void OnCommitCountersUpdated(syncer::ModelType type,
+ const syncer::CommitCounters& counters) override;
+ void OnUpdateCountersUpdated(syncer::ModelType type,
+ const syncer::UpdateCounters& counters) override;
+ void OnStatusCountersUpdated(syncer::ModelType type,
+ const syncer::StatusCounters& counters) override;
// Helper to emit counter updates.
//

Powered by Google App Engine
This is Rietveld 408576698