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

Unified Diff: components/invalidation/sync_invalidation_listener_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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: components/invalidation/sync_invalidation_listener_unittest.cc
diff --git a/components/invalidation/sync_invalidation_listener_unittest.cc b/components/invalidation/sync_invalidation_listener_unittest.cc
index 141dec5f44f3738fe8ebd8c58638c9188e76e877..7231b1922c98452d1393898fc4e78f57d1a2f76a 100644
--- a/components/invalidation/sync_invalidation_listener_unittest.cc
+++ b/components/invalidation/sync_invalidation_listener_unittest.cc
@@ -72,15 +72,15 @@ class FakeInvalidationClient : public invalidation::InvalidationClient {
// invalidation::InvalidationClient implementation.
- virtual void Start() OVERRIDE {
+ virtual void Start() override {
started_ = true;
}
- virtual void Stop() OVERRIDE {
+ virtual void Stop() override {
started_ = false;
}
- virtual void Register(const ObjectId& object_id) OVERRIDE {
+ virtual void Register(const ObjectId& object_id) override {
if (!started_) {
ADD_FAILURE();
return;
@@ -89,7 +89,7 @@ class FakeInvalidationClient : public invalidation::InvalidationClient {
}
virtual void Register(
- const invalidation::vector<ObjectId>& object_ids) OVERRIDE {
+ const invalidation::vector<ObjectId>& object_ids) override {
if (!started_) {
ADD_FAILURE();
return;
@@ -97,7 +97,7 @@ class FakeInvalidationClient : public invalidation::InvalidationClient {
registered_ids_.insert(object_ids.begin(), object_ids.end());
}
- virtual void Unregister(const ObjectId& object_id) OVERRIDE {
+ virtual void Unregister(const ObjectId& object_id) override {
if (!started_) {
ADD_FAILURE();
return;
@@ -106,7 +106,7 @@ class FakeInvalidationClient : public invalidation::InvalidationClient {
}
virtual void Unregister(
- const invalidation::vector<ObjectId>& object_ids) OVERRIDE {
+ const invalidation::vector<ObjectId>& object_ids) override {
if (!started_) {
ADD_FAILURE();
return;
@@ -117,7 +117,7 @@ class FakeInvalidationClient : public invalidation::InvalidationClient {
}
}
- virtual void Acknowledge(const AckHandle& ack_handle) OVERRIDE {
+ virtual void Acknowledge(const AckHandle& ack_handle) override {
if (!started_) {
ADD_FAILURE();
return;
@@ -223,7 +223,7 @@ class FakeDelegate : public SyncInvalidationListener::Delegate {
// SyncInvalidationListener::Delegate implementation.
virtual void OnInvalidate(
- const ObjectIdInvalidationMap& invalidation_map) OVERRIDE {
+ const ObjectIdInvalidationMap& invalidation_map) override {
ObjectIdSet ids = invalidation_map.GetObjectIds();
for (ObjectIdSet::iterator it = ids.begin(); it != ids.end(); ++it) {
const SingleObjectInvalidationSet& incoming =
@@ -233,7 +233,7 @@ class FakeDelegate : public SyncInvalidationListener::Delegate {
}
}
- virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE {
+ virtual void OnInvalidatorStateChange(InvalidatorState state) override {
state_ = state;
}
« no previous file with comments | « components/invalidation/sync_invalidation_listener.h ('k') | components/invalidation/sync_system_resources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698