Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/extensions/
Dapps_promo_unittest.cc84 ExtensionIdSet installed_ids; in TEST_F() local
87 EXPECT_FALSE(apps_promo()->ShouldShowAppLauncher(installed_ids)); in TEST_F()
88 EXPECT_FALSE(apps_promo()->ShouldShowPromo(installed_ids, in TEST_F()
97 EXPECT_TRUE(apps_promo()->ShouldShowAppLauncher(installed_ids)); in TEST_F()
98 EXPECT_TRUE(apps_promo()->ShouldShowPromo(installed_ids, in TEST_F()
104 installed_ids.insert(*(default_app_ids.begin())); in TEST_F()
106 EXPECT_TRUE(apps_promo()->ShouldShowAppLauncher(installed_ids)); in TEST_F()
107 EXPECT_FALSE(apps_promo()->ShouldShowPromo(installed_ids, in TEST_F()
113 installed_ids = default_app_ids; in TEST_F()
115 EXPECT_TRUE(apps_promo()->ShouldShowAppLauncher(installed_ids)); in TEST_F()
[all …]
Dapps_promo.cc113 bool AppsPromo::ShouldShowPromo(const ExtensionIdSet& installed_ids, in ShouldShowPromo() argument
133 if (old_default_app_ids_ != installed_ids) { in ShouldShowPromo()
152 } else if (installed_ids.empty()) { in ShouldShowPromo()
159 bool AppsPromo::ShouldShowAppLauncher(const ExtensionIdSet& installed_ids) { in ShouldShowAppLauncher() argument
167 if (!installed_ids.empty()) in ShouldShowAppLauncher()
Dapps_promo.h73 bool ShouldShowAppLauncher(const ExtensionIdSet& installed_ids);
76 bool ShouldShowPromo(const ExtensionIdSet& installed_ids,