Searched refs:push_client_ (Results 1 – 10 of 10) sorted by relevance
30 push_client_.reset( in SetUp()35 push_client_->AddObserver(&fake_observer_); in SetUp()43 push_client_->RemoveObserver(&fake_observer_); in TearDown()44 push_client_.reset(); in TearDown()61 scoped_ptr<NonBlockingPushClient> push_client_; member in notifier::__anon02a2e4510111::NonBlockingPushClientTest72 push_client_->UpdateSubscriptions(subscriptions); in TEST_F()85 push_client_->UpdateCredentials(kEmail, kToken); in TEST_F()107 push_client_->SendNotification(notification); in TEST_F()117 push_client_->SendPing(); in TEST_F()
55 if (push_client_) { in ~CloudPrintXmppListener()56 push_client_->RemoveObserver(this); in ~CloudPrintXmppListener()57 push_client_.reset(); in ~CloudPrintXmppListener()70 push_client_ = notifier::PushClient::CreateDefault(options); in Connect()79 push_client_->UpdateSubscriptions(list); in Connect()80 push_client_->AddObserver(this); in Connect()81 push_client_->UpdateCredentials(robot_email_, access_token_); in Connect()130 push_client_.reset(); in Disconnect()156 DCHECK(push_client_); in SendPing()157 push_client_->SendPing(); in SendPing()
102 scoped_ptr<notifier::PushClient> push_client_; variable
24 : push_client_(push_client.Pass()), in PushClientChannel()27 push_client_->AddObserver(this); in PushClientChannel()33 push_client_->UpdateSubscriptions(subscriptions); in PushClientChannel()37 push_client_->RemoveObserver(this); in ~PushClientChannel()42 push_client_->UpdateCredentials(email, token); in UpdateCredentials()68 push_client_->SendNotification(notification); in SendMessage()
142 : push_client_(push_client.Pass()), in P2PInvalidator()149 push_client_->AddObserver(this); in P2PInvalidator()154 push_client_->RemoveObserver(this); in ~P2PInvalidator()198 push_client_->UpdateSubscriptions( in UpdateCredentials()202 push_client_->UpdateCredentials(email, token); in UpdateCredentials()297 push_client_->SendNotification(notification); in SendNotificationData()
79 scoped_ptr<notifier::PushClient> push_client_; variable
135 scoped_ptr<notifier::PushClient> push_client_; variable
136 scoped_ptr<notifier::PushClient> push_client_; member in cloud_print::CloudPrintProxyBackend::Core294 DCHECK(push_client_.get()); in OnAuthenticationComplete()295 push_client_->UpdateCredentials(robot_email, access_token); in OnAuthenticationComplete()346 push_client_ = notifier::PushClient::CreateDefault(notifier_options); in InitNotifications()347 push_client_->AddObserver(this); in InitNotifications()351 push_client_->UpdateSubscriptions( in InitNotifications()353 push_client_->UpdateCredentials(robot_email, access_token); in InitNotifications()364 if (push_client_.get()) { in DoShutdown()365 push_client_->RemoveObserver(this); in DoShutdown()367 push_client_.reset(); in DoShutdown()[all …]
1354 if (!push_client_.get()) in GetPushClientMock()1355 push_client_.reset(new MockWebPushClient); in GetPushClientMock()1356 return push_client_.get(); in GetPushClientMock()
276 scoped_ptr<MockWebPushClient> push_client_; variable