Index: chrome/browser/extensions/webstore_install_with_prompt.cc |
diff --git a/chrome/browser/extensions/webstore_install_with_prompt.cc b/chrome/browser/extensions/webstore_install_with_prompt.cc |
index 19ab6148729884518dde45ad9c6711fababffbbd..4e69d8d08a73e8585d81cd7af3742d6f22167af4 100644 |
--- a/chrome/browser/extensions/webstore_install_with_prompt.cc |
+++ b/chrome/browser/extensions/webstore_install_with_prompt.cc |
@@ -19,6 +19,7 @@ WebstoreInstallWithPrompt::WebstoreInstallWithPrompt( |
Profile* profile, |
const Callback& callback) |
: WebstoreStandaloneInstaller(webstore_item_id, profile, callback), |
+ show_post_install_ui_(true), |
dummy_web_contents_( |
WebContents::Create(WebContents::CreateParams(profile))), |
parent_window_(NULL) { |
@@ -31,6 +32,7 @@ WebstoreInstallWithPrompt::WebstoreInstallWithPrompt( |
gfx::NativeWindow parent_window, |
const Callback& callback) |
: WebstoreStandaloneInstaller(webstore_item_id, profile, callback), |
+ show_post_install_ui_(true), |
dummy_web_contents_( |
WebContents::Create(WebContents::CreateParams(profile))), |
parent_window_(parent_window) { |
@@ -65,7 +67,7 @@ WebstoreInstallWithPrompt::CreateInstallUI() { |
} |
bool WebstoreInstallWithPrompt::ShouldShowPostInstallUI() const { |
- return false; |
+ return show_post_install_ui_; |
} |
bool WebstoreInstallWithPrompt::ShouldShowAppInstalledBubble() const { |