Home
last modified time | relevance | path

Searched refs:push_client_ (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/jingle/notifier/listener/
Dnon_blocking_push_client_unittest.cc30 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::NonBlockingPushClientTest
72 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()
/external/chromium_org/cloud_print/gcp20/prototype/
Dcloud_print_xmpp_listener.cc55 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()
Dcloud_print_xmpp_listener.h102 scoped_ptr<notifier::PushClient> push_client_; variable
/external/chromium_org/components/invalidation/
Dpush_client_channel.cc24 : 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()
Dp2p_invalidator.cc142 : 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()
Dpush_client_channel.h79 scoped_ptr<notifier::PushClient> push_client_; variable
Dp2p_invalidator.h135 scoped_ptr<notifier::PushClient> push_client_; variable
/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_proxy_backend.cc136 scoped_ptr<notifier::PushClient> push_client_; member in cloud_print::CloudPrintProxyBackend::Core
294 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 …]
/external/chromium_org/content/shell/renderer/test_runner/
Dweb_test_proxy.cc1354 if (!push_client_.get()) in GetPushClientMock()
1355 push_client_.reset(new MockWebPushClient); in GetPushClientMock()
1356 return push_client_.get(); in GetPushClientMock()
Dweb_test_proxy.h276 scoped_ptr<MockWebPushClient> push_client_; variable