Lines Matching refs:registrar

48   const AppRegistrar& registrar() {  in registrar()  function in web_app::ExternalWebAppManagerBrowserTest
49 return WebAppProvider::Get(browser()->profile())->registrar(); in registrar()
125 EXPECT_FALSE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
137 EXPECT_TRUE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
138 EXPECT_EQ(registrar().GetAppStartUrl(app_id).spec(), start_url); in IN_PROC_BROWSER_TEST_F()
142 EXPECT_EQ(registrar().GetAppLaunchUrl(app_id), launch_url); in IN_PROC_BROWSER_TEST_F()
159 EXPECT_FALSE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
172 EXPECT_TRUE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
173 EXPECT_EQ(registrar().GetAppStartUrl(app_id).spec(), start_url); in IN_PROC_BROWSER_TEST_F()
176 EXPECT_EQ(registrar().GetAppLaunchUrl(app_id), start_url); in IN_PROC_BROWSER_TEST_F()
193 EXPECT_FALSE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
206 EXPECT_TRUE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
207 EXPECT_EQ(registrar().GetAppStartUrl(app_id).spec(), start_url); in IN_PROC_BROWSER_TEST_F()
212 EXPECT_EQ(registrar().GetAppLaunchUrl(app_id), launch_url); in IN_PROC_BROWSER_TEST_F()
266 EXPECT_FALSE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
288 EXPECT_TRUE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
289 EXPECT_EQ(registrar().GetAppShortName(app_id), kAppName); in IN_PROC_BROWSER_TEST_F()
290 EXPECT_EQ(registrar().GetAppStartUrl(app_id).spec(), kAppStartUrl); in IN_PROC_BROWSER_TEST_F()
291 EXPECT_EQ(registrar().GetAppScope(app_id).spec(), kAppScope); in IN_PROC_BROWSER_TEST_F()
293 EXPECT_EQ(registrar().GetAppThemeColor(app_id), in IN_PROC_BROWSER_TEST_F()
314 EXPECT_FALSE(registrar().IsInstalled(offline_app_id)); in IN_PROC_BROWSER_TEST_F()
336 EXPECT_FALSE(registrar().IsInstalled(offline_app_id)); in IN_PROC_BROWSER_TEST_F()
340 EXPECT_TRUE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
341 EXPECT_EQ(registrar().GetAppShortName(app_id), "Basic web app"); in IN_PROC_BROWSER_TEST_F()
342 EXPECT_EQ(registrar().GetAppStartUrl(app_id).spec(), install_url); in IN_PROC_BROWSER_TEST_F()
343 EXPECT_EQ(registrar().GetAppScope(app_id).spec(), scope); in IN_PROC_BROWSER_TEST_F()
355 EXPECT_FALSE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
378 EXPECT_TRUE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
379 EXPECT_EQ(registrar().GetAppShortName(app_id), kAppName); in IN_PROC_BROWSER_TEST_F()
380 EXPECT_EQ(registrar().GetAppStartUrl(app_id).spec(), kAppStartUrl); in IN_PROC_BROWSER_TEST_F()
381 EXPECT_EQ(registrar().GetAppScope(app_id).spec(), kAppScope); in IN_PROC_BROWSER_TEST_F()
383 EXPECT_EQ(registrar().GetAppThemeColor(app_id), in IN_PROC_BROWSER_TEST_F()
404 EXPECT_FALSE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
427 EXPECT_TRUE(registrar().IsInstalled(app_id)); in IN_PROC_BROWSER_TEST_F()
428 EXPECT_EQ(registrar().GetAppShortName(app_id), kAppName); in IN_PROC_BROWSER_TEST_F()
429 EXPECT_EQ(registrar().GetAppStartUrl(app_id).spec(), start_url); in IN_PROC_BROWSER_TEST_F()
430 EXPECT_EQ(registrar().GetAppScope(app_id).spec(), scope); in IN_PROC_BROWSER_TEST_F()
432 EXPECT_EQ(registrar().GetAppThemeColor(app_id), in IN_PROC_BROWSER_TEST_F()