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

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

Issue 8430033: Adds a webstorePrivate method for silently installing extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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_install_ui.h
diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h
index 69dc33fd0e2d2a94f1175511ce43530da95782a9..93d41304a754390e5f655a2ab6aff734ecd91fed 100644
--- a/chrome/browser/extensions/extension_install_ui.h
+++ b/chrome/browser/extensions/extension_install_ui.h
@@ -116,6 +116,11 @@ class ExtensionInstallUI : public ImageLoadingTracker::Observer {
use_app_installed_bubble_ = use_bubble;
}
+ // Whether or not to show the default UI after completing the installation.
Aaron Boodman 2011/11/01 17:24:34 Consider combining these two booleans flags into a
jstritar 2011/11/01 19:43:05 The use_app_installed_bubble only applies to apps
+ void set_skip_post_install_ui(bool is_bundle) {
+ skip_post_install_ui_ = is_bundle;
+ }
+
// This is called by the installer to verify whether the installation should
// proceed. This is declared virtual for testing.
//
@@ -214,6 +219,9 @@ class ExtensionInstallUI : public ImageLoadingTracker::Observer {
// Whether to show an installed bubble on app install, or use the default
// action of opening a new tab page.
bool use_app_installed_bubble_;
+
+ // Whether or not to show the default UI after completing the installation.
+ bool skip_post_install_ui_;
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_

Powered by Google App Engine
This is Rietveld 408576698