Home
last modified time | relevance | path

Searched refs:notification_data (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/sync/notifier/
Dp2p_invalidator_unittest.cc69 const P2PNotificationData notification_data( in TriggerOnIncomingInvalidation() local
73 notification.data = notification_data.ToString(); in TriggerOnIncomingInvalidation()
137 const P2PNotificationData notification_data( in TEST_F() local
139 EXPECT_TRUE(notification_data.IsTargeted("sender")); in TEST_F()
140 EXPECT_FALSE(notification_data.IsTargeted("other1")); in TEST_F()
141 EXPECT_FALSE(notification_data.IsTargeted("other2")); in TEST_F()
144 const P2PNotificationData notification_data( in TEST_F() local
146 EXPECT_FALSE(notification_data.IsTargeted("sender")); in TEST_F()
147 EXPECT_TRUE(notification_data.IsTargeted("other1")); in TEST_F()
148 EXPECT_TRUE(notification_data.IsTargeted("other2")); in TEST_F()
[all …]
Dp2p_invalidator.cc171 const P2PNotificationData notification_data( in UpdateRegisteredIds() local
175 SendNotificationData(notification_data); in UpdateRegisteredIds()
209 const P2PNotificationData notification_data( in SendInvalidation() local
211 SendNotificationData(notification_data); in SendInvalidation()
220 const P2PNotificationData notification_data( in OnNotificationsEnabled() local
225 SendNotificationData(notification_data); in OnNotificationsEnabled()
251 P2PNotificationData notification_data; in OnIncomingNotification() local
252 if (!notification_data.ResetFromString(notification.data)) { in OnIncomingNotification()
255 notification_data = P2PNotificationData( in OnIncomingNotification()
261 if (!notification_data.IsTargeted(invalidator_client_id_)) { in OnIncomingNotification()
[all …]
Dp2p_invalidator.h123 const P2PNotificationData& notification_data);
126 void SendNotificationData(const P2PNotificationData& notification_data);
/external/chromium_org/ui/message_center/cocoa/
Dtray_view_controller_unittest.mm72 scoped_ptr<message_center::Notification> notification_data;
73 notification_data.reset(new message_center::Notification(
83 center_->AddNotification(notification_data.Pass());