Home | History | Annotate | Download | only in sync_notifier

Lines Matching refs:app_info

26   SyncedNotificationAppInfo app_info(NULL, kTestSendingServiceName, NULL);
28 app_info.AddAppId(kTestAppId1);
31 EXPECT_TRUE(app_info.HasAppId(kTestAppId1));
34 EXPECT_FALSE(app_info.HasAppId(kTestAppId2));
37 app_info.RemoveAppId(kTestAppId1);
38 EXPECT_FALSE(app_info.HasAppId(kTestAppId1));
42 SyncedNotificationAppInfo app_info(NULL, kTestSendingServiceName, NULL);
45 app_info.AddAppId(kTestAppId1);
46 app_info.AddAppId(kTestAppId2);
48 std::vector<std::string> app_id_list = app_info.GetAppIdList();
57 SyncedNotificationAppInfo app_info(
62 app_info.OnFetchComplete();
71 SyncedNotificationAppInfo app_info(NULL, kTestSendingServiceName, NULL);
74 EXPECT_TRUE(app_info.AreAllBitmapsFetched());
77 app_info.SetSettingsURLs(GURL(kIconUrl1), GURL(kIconUrl2));
78 EXPECT_FALSE(app_info.AreAllBitmapsFetched());
87 app_info.settings_holder_->OnFetchComplete(GURL(kIconUrl1), &bitmap);
88 EXPECT_FALSE(app_info.AreAllBitmapsFetched());
91 app_info.settings_holder_->OnFetchComplete(GURL(kIconUrl2), &bitmap);
92 EXPECT_TRUE(app_info.AreAllBitmapsFetched());