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

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

Issue 407483002: Show post-install UI when ephemeral apps are promoted to installed apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@install_guard
Patch Set: Created 6 years, 5 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 9eba52f7de5edc7d77bd167f484c1d32f26e7066..51ac537ee956c7d658cf8d9d39becfa4ade05608 100644
--- a/chrome/browser/extensions/webstore_standalone_installer.cc
+++ b/chrome/browser/extensions/webstore_standalone_installer.cc
@@ -9,6 +9,7 @@
#include "chrome/browser/extensions/crx_installer.h"
#include "chrome/browser/extensions/extension_install_prompt.h"
#include "chrome/browser/extensions/extension_install_ui.h"
+#include "chrome/browser/extensions/extension_install_ui_util.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/install_tracker.h"
#include "chrome/browser/extensions/webstore_data_fetcher.h"
@@ -360,6 +361,8 @@ void WebstoreStandaloneInstaller::InstallUIProceed() {
// to update the extension.
done = false;
} else {
+ install_ui::ShowPostInstallUIForApproval(
+ profile_, *approval, installed_extension);
extension_service->PromoteEphemeralApp(installed_extension, false);
asargent_no_longer_on_chrome 2014/07/21 23:23:16 I notice that both of the places we call PromoteEp
tmdiep 2014/07/21 23:32:24 Hmm, I'm inclined to keep the post-install UI out
}
} else if (!extension_service->IsExtensionEnabled(id_)) {

Powered by Google App Engine
This is Rietveld 408576698