Searched refs:FakePushClient (Results 1 – 8 of 8) sorted by relevance
11 FakePushClient::FakePushClient() : sent_pings_(0) {} in FakePushClient() function in notifier::FakePushClient13 FakePushClient::~FakePushClient() {} in ~FakePushClient()15 void FakePushClient::AddObserver(PushClientObserver* observer) { in AddObserver()19 void FakePushClient::RemoveObserver(PushClientObserver* observer) { in RemoveObserver()23 void FakePushClient::UpdateSubscriptions( in UpdateSubscriptions()28 void FakePushClient::UpdateCredentials( in UpdateCredentials()34 void FakePushClient::SendNotification(const Notification& notification) { in SendNotification()38 void FakePushClient::SendPing() { in SendPing()42 void FakePushClient::EnableNotifications() { in EnableNotifications()47 void FakePushClient::DisableNotifications( in DisableNotifications()[all …]
19 class FakePushClient : public PushClient {21 FakePushClient();22 virtual ~FakePushClient();57 DISALLOW_COPY_AND_ASSIGN(FakePushClient);
55 fake_push_client_ = new FakePushClient(); in CreateFakePushClient()63 FakePushClient* fake_push_client_;
35 fake_push_client_ = new notifier::FakePushClient(); in CreateInvalidator()47 notifier::FakePushClient* GetPushClient() { in GetPushClient()80 notifier::FakePushClient* fake_push_client_;214 notifier::FakePushClient* const push_client = delegate_.GetPushClient(); in TEST_F()270 notifier::FakePushClient* const push_client = delegate_.GetPushClient(); in TEST_F()
39 new notifier::FakePushClient()); in CreateInvalidator()
21 : fake_push_client_(new notifier::FakePushClient()), in PushClientChannelTest()45 notifier::FakePushClient* fake_push_client_;
54 scoped_ptr<notifier::PushClient>(new notifier::FakePushClient())), in SyncSystemResourcesTest()
268 fake_push_client_(new notifier::FakePushClient()), in SyncInvalidationListenerTest()457 notifier::FakePushClient* const fake_push_client_;