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

Unified Diff: chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc

Issue 10875064: Rename SyncNotifier->Invalidator and SyncNotifierObserver->InvalidationHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to ToT for landing Created 8 years, 4 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/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc
diff --git a/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc b/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc
index 289a6d98fbc74aa8d302a17956b49c290735db1b..2dd4ec3e8f59a23117186c9b48a58abdcb4331b4 100644
--- a/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc
+++ b/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc
@@ -27,11 +27,11 @@ class MockInvalidationFrontend : public InvalidationFrontend {
MockInvalidationFrontend();
~MockInvalidationFrontend();
MOCK_METHOD1(RegisterInvalidationHandler,
- void(syncer::SyncNotifierObserver*));
+ void(syncer::InvalidationHandler*));
MOCK_METHOD2(UpdateRegisteredInvalidationIds,
- void(syncer::SyncNotifierObserver*, const syncer::ObjectIdSet&));
+ void(syncer::InvalidationHandler*, const syncer::ObjectIdSet&));
MOCK_METHOD1(UnregisterInvalidationHandler,
- void(syncer::SyncNotifierObserver*));
+ void(syncer::InvalidationHandler*));
private:
DISALLOW_COPY_AND_ASSIGN(MockInvalidationFrontend);
@@ -66,7 +66,7 @@ class PushMessagingInvalidationHandlerTest : public ::testing::Test {
virtual void SetUpWithArgs(const std::set<std::string>& extension_ids,
const syncer::ObjectIdSet& expected_ids) {
InSequence seq;
- syncer::SyncNotifierObserver* handler[2] = {};
+ syncer::InvalidationHandler* handler[2] = {};
EXPECT_CALL(service_, RegisterInvalidationHandler(NotNull()))
.WillOnce(SaveArg<0>(&handler[0]));
EXPECT_CALL(service_,

Powered by Google App Engine
This is Rietveld 408576698