Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: chrome/browser/extensions/extension_browsertest.cc

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_browsertest.cc
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
index a510d7427cd83789e7bd257332e61f7a0e6f3ea8..300035fb3f410db296cf56a4576a083a6ce976fe 100644
--- a/chrome/browser/extensions/extension_browsertest.cc
+++ b/chrome/browser/extensions/extension_browsertest.cc
@@ -422,7 +422,6 @@ const Extension* ExtensionBrowserTest::UpdateExtensionWaitForIdle(
Manifest::INTERNAL,
browser(),
Extension::NO_FLAGS,
- false,
false);
}
@@ -431,7 +430,7 @@ const Extension* ExtensionBrowserTest::InstallExtensionFromWebstore(
int expected_change) {
return InstallOrUpdateExtension(
std::string(), path, INSTALL_UI_TYPE_AUTO_CONFIRM, expected_change,
- Manifest::INTERNAL, browser(), Extension::FROM_WEBSTORE, true, false);
+ Manifest::INTERNAL, browser(), Extension::FROM_WEBSTORE, true);
}
const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
@@ -446,8 +445,7 @@ const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
Manifest::INTERNAL,
browser(),
Extension::NO_FLAGS,
- true,
- false);
+ true);
}
const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
@@ -464,8 +462,7 @@ const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
Manifest::INTERNAL,
browser,
creation_flags,
- true,
- false);
+ true);
}
const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
@@ -481,8 +478,7 @@ const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
install_source,
browser(),
Extension::NO_FLAGS,
- true,
- false);
+ true);
}
const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
@@ -493,8 +489,7 @@ const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
Manifest::Location install_source,
Browser* browser,
Extension::InitFromValueFlags creation_flags,
- bool install_immediately,
- bool is_ephemeral) {
+ bool install_immediately) {
ExtensionService* service =
extensions::ExtensionSystem::Get(profile())->extension_service();
ExtensionRegistry* registry = ExtensionRegistry::Get(profile());
@@ -528,7 +523,6 @@ const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
installer->set_creation_flags(creation_flags);
installer->set_install_source(install_source);
installer->set_install_immediately(install_immediately);
- installer->set_is_ephemeral(is_ephemeral);
if (!installer->is_gallery_install()) {
installer->set_off_store_install_allow_reason(
extensions::CrxInstaller::OffStoreInstallAllowedInTest);

Powered by Google App Engine
This is Rietveld 408576698