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

Unified Diff: components/invalidation/registration_manager_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/registration_manager_unittest.cc
diff --git a/components/invalidation/registration_manager_unittest.cc b/components/invalidation/registration_manager_unittest.cc
index 2afbd0201e5c31baa999f565a18eb3b8de885e7f..30e58653ef05e40ebe65b611a63f4d404d595e56 100644
--- a/components/invalidation/registration_manager_unittest.cc
+++ b/components/invalidation/registration_manager_unittest.cc
@@ -35,7 +35,7 @@ class FakeRegistrationManager : public RegistrationManager {
}
protected:
- virtual double GetJitter() OVERRIDE {
+ virtual double GetJitter() override {
return jitter_;
}
@@ -64,27 +64,27 @@ class FakeInvalidationClient : public invalidation::InvalidationClient {
// invalidation::InvalidationClient implementation.
- virtual void Start() OVERRIDE {}
- virtual void Stop() OVERRIDE {}
- virtual void Acknowledge(const invalidation::AckHandle& handle) OVERRIDE {}
+ virtual void Start() override {}
+ virtual void Stop() override {}
+ virtual void Acknowledge(const invalidation::AckHandle& handle) override {}
- virtual void Register(const invalidation::ObjectId& oid) OVERRIDE {
+ virtual void Register(const invalidation::ObjectId& oid) override {
EXPECT_FALSE(ContainsKey(registered_ids_, oid));
registered_ids_.insert(oid);
}
virtual void Register(
- const std::vector<invalidation::ObjectId>& oids) OVERRIDE {
+ const std::vector<invalidation::ObjectId>& oids) override {
// Unused for now.
}
- virtual void Unregister(const invalidation::ObjectId& oid) OVERRIDE {
+ virtual void Unregister(const invalidation::ObjectId& oid) override {
EXPECT_TRUE(ContainsKey(registered_ids_, oid));
registered_ids_.erase(oid);
}
virtual void Unregister(
- const std::vector<invalidation::ObjectId>& oids) OVERRIDE {
+ const std::vector<invalidation::ObjectId>& oids) override {
// Unused for now.
}
« no previous file with comments | « components/invalidation/push_client_channel_unittest.cc ('k') | components/invalidation/sync_invalidation_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698