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

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: mihai Created 9 years, 1 month 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.
+ 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_
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698