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

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

Issue 282103003: Moved IS_EPHEMERAL flag to extension prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up file header 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/webstore_standalone_installer.cc
diff --git a/chrome/browser/extensions/webstore_standalone_installer.cc b/chrome/browser/extensions/webstore_standalone_installer.cc
index c4f621ae68b917e524ed5968dc8512b23b98b7c9..6fd762b55d735ac1ae04ee73d838b741e4b1b02b 100644
--- a/chrome/browser/extensions/webstore_standalone_installer.cc
+++ b/chrome/browser/extensions/webstore_standalone_installer.cc
@@ -14,6 +14,7 @@
#include "content/public/browser/web_contents.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_system.h"
+#include "extensions/browser/extension_util.h"
#include "extensions/common/extension.h"
#include "url/gurl.h"
@@ -244,7 +245,7 @@ void WebstoreStandaloneInstaller::InstallUIProceed() {
} else { // Don't install a blacklisted extension.
install_result = kExtensionIsBlacklisted;
}
- } else if (!extension->is_ephemeral()) {
+ } else if (!util::IsEphemeralApp(extension->id(), profile_)) {
// else extension is installed and enabled; no work to be done.
CompleteInstall(install_result);
return;
« no previous file with comments | « chrome/browser/extensions/unpacked_installer.cc ('k') | chrome/browser/media_galleries/media_galleries_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698