Commit 187247ee authored by Mike Jackson's avatar Mike Jackson Committed by Commit Bot

dpwa: Clean up kDesktopPWAsWithoutExtensions in system_web_app tests

DesktopPWAsWithoutExtensions has shipped and tests have been
migrated, so removing dead code.

Bug: 1065748
Change-Id: If97523669db16f8e0a833b5e8a0fd4546b5cf2be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2466510
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: default avatarGiovanni Ortuño Urquidi <ortuno@chromium.org>
Reviewed-by: default avatarEric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816432}
parent c4100566
...@@ -222,14 +222,6 @@ IN_PROC_BROWSER_TEST_P(SystemWebAppManagerWebAppInfoBrowserTest, Install) { ...@@ -222,14 +222,6 @@ IN_PROC_BROWSER_TEST_P(SystemWebAppManagerWebAppInfoBrowserTest, Install) {
registrar.FindAppWithUrlInScope(content::GetWebUIURL("test-system-app/")), registrar.FindAppWithUrlInScope(content::GetWebUIURL("test-system-app/")),
app_id); app_id);
if (!base::FeatureList::IsEnabled(features::kDesktopPWAsWithoutExtensions)) {
const extensions::Extension* extension =
extensions::ExtensionRegistry::Get(profile)->GetInstalledExtension(
app_id);
EXPECT_TRUE(extension->from_bookmark());
EXPECT_EQ(extensions::Manifest::EXTERNAL_COMPONENT, extension->location());
}
// OS Integration only relevant for Chrome OS. // OS Integration only relevant for Chrome OS.
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
apps::AppServiceProxy* proxy = GetAppServiceProxy(browser()->profile()); apps::AppServiceProxy* proxy = GetAppServiceProxy(browser()->profile());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment