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_, |