Home
last modified time | relevance | path

Searched refs:IsTargeted (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/sync/notifier/
Dp2p_invalidator_unittest.cc139 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()
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()
153 EXPECT_TRUE(notification_data.IsTargeted("sender")); in TEST_F()
154 EXPECT_TRUE(notification_data.IsTargeted("other1")); in TEST_F()
155 EXPECT_TRUE(notification_data.IsTargeted("other2")); in TEST_F()
163 EXPECT_TRUE(notification_data.IsTargeted(std::string())); in TEST_F()
[all …]
Dp2p_invalidator.cc77 bool P2PNotificationData::IsTargeted(const std::string& id) const { in IsTargeted() function in syncer::P2PNotificationData
261 if (!notification_data.IsTargeted(invalidator_client_id_)) { in OnIncomingNotification()
Dp2p_invalidator.h68 bool IsTargeted(const std::string& id) const;