Searched refs:IsTargeted (Results 1 – 3 of 3) sorted by relevance
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()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 …]
77 bool P2PNotificationData::IsTargeted(const std::string& id) const { in IsTargeted() function in syncer::P2PNotificationData261 if (!notification_data.IsTargeted(invalidator_client_id_)) { in OnIncomingNotification()
68 bool IsTargeted(const std::string& id) const;