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

Unified Diff: chrome/browser/extensions/webstore_install_with_prompt.h

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_install_with_prompt.h
diff --git a/chrome/browser/extensions/webstore_install_with_prompt.h b/chrome/browser/extensions/webstore_install_with_prompt.h
index 5afc314b5c6460e1d55884ca5f141e5df38795b0..9c4ac26fbc90ecec799773641d3ad0026dc26961 100644
--- a/chrome/browser/extensions/webstore_install_with_prompt.h
+++ b/chrome/browser/extensions/webstore_install_with_prompt.h
@@ -48,6 +48,8 @@ class WebstoreInstallWithPrompt : public WebstoreStandaloneInstaller,
friend class base::RefCountedThreadSafe<WebstoreInstallWithPrompt>;
virtual ~WebstoreInstallWithPrompt();
+ void set_show_post_install_ui(bool show) { show_post_install_ui_ = show; }
+
// extensions::WebstoreStandaloneInstaller overrides:
virtual bool CheckRequestorAlive() const OVERRIDE;
virtual const GURL& GetRequestorURL() const OVERRIDE;
@@ -69,6 +71,8 @@ class WebstoreInstallWithPrompt : public WebstoreStandaloneInstaller,
const content::OpenURLParams& params) OVERRIDE;
private:
+ bool show_post_install_ui_;
+
GURL dummy_requestor_url_;
// A non-visible WebContents used to download data from the webstore.

Powered by Google App Engine
This is Rietveld 408576698