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

Unified Diff: chrome/browser/ui/webui/invalidations_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/invalidations_message_handler.h
diff --git a/chrome/browser/ui/webui/invalidations_message_handler.h b/chrome/browser/ui/webui/invalidations_message_handler.h
index 1f0fd5e9ea0a2031066e16202559cf95626a81bb..2320ba45e9cd6310e2ebcce6d0e02fea1316b064 100644
--- a/chrome/browser/ui/webui/invalidations_message_handler.h
+++ b/chrome/browser/ui/webui/invalidations_message_handler.h
@@ -29,24 +29,22 @@ class InvalidationsMessageHandler
public invalidation::InvalidationLoggerObserver {
public:
InvalidationsMessageHandler();
- virtual ~InvalidationsMessageHandler();
+ ~InvalidationsMessageHandler() override;
// Implementation of InvalidationLoggerObserver.
- virtual void OnRegistrationChange(
+ void OnRegistrationChange(
const std::multiset<std::string>& registered_handlers) override;
- virtual void OnStateChange(const syncer::InvalidatorState& new_state,
- const base::Time& last_change_timestamp)
- override;
- virtual void OnUpdateIds(const std::string& handler_name,
- const syncer::ObjectIdCountMap& ids_set) override;
- virtual void OnDebugMessage(const base::DictionaryValue& details) override;
- virtual void OnInvalidation(
+ void OnStateChange(const syncer::InvalidatorState& new_state,
+ const base::Time& last_change_timestamp) override;
+ void OnUpdateIds(const std::string& handler_name,
+ const syncer::ObjectIdCountMap& ids_set) override;
+ void OnDebugMessage(const base::DictionaryValue& details) override;
+ void OnInvalidation(
const syncer::ObjectIdInvalidationMap& new_invalidations) override;
- virtual void OnDetailedStatus(const base::DictionaryValue& network_details)
- override;
+ void OnDetailedStatus(const base::DictionaryValue& network_details) override;
// Implementation of WebUIMessageHandler.
- virtual void RegisterMessages() override;
+ void RegisterMessages() override;
// Triggers the logger to send the current state and objects ids.
void UpdateContent(const base::ListValue* args);

Powered by Google App Engine
This is Rietveld 408576698