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

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

Issue 282103003: Moved IS_EPHEMERAL flag to extension prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months 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 aa62007d19363d0e681198ff02f78025ce7aeae1..4299f4da0ee431ae515c9cb882c8242b96b214c6 100644
--- a/chrome/browser/extensions/extension_browsertest.cc
+++ b/chrome/browser/extensions/extension_browsertest.cc
@@ -468,6 +468,9 @@ const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
extensions::CrxInstaller::OffStoreInstallAllowedInTest);
}
+ // TODO(tmdiep): remove this hack
tmdiep 2014/05/15 02:18:42 TODO in this patch before committing.
+ installer->set_is_ephemeral(creation_flags & Extension::IS_EPHEMERAL);
+
observer_->Watch(
chrome::NOTIFICATION_CRX_INSTALLER_DONE,
content::Source<extensions::CrxInstaller>(installer.get()));

Powered by Google App Engine
This is Rietveld 408576698