summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/crx_installer.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-19 07:18:45 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-19 07:18:45 +0000
commit21217cab5b687af94175570fc301b6e33dc4e085 (patch)
tree6d9f74816baeb04301b44d88ad17afa2dabb74eb /chrome/browser/extensions/crx_installer.h
parentf1c42aa16ff81a4983d17b717513e231e1850ab2 (diff)
downloadchromium_src-21217cab5b687af94175570fc301b6e33dc4e085.zip
chromium_src-21217cab5b687af94175570fc301b6e33dc4e085.tar.gz
chromium_src-21217cab5b687af94175570fc301b6e33dc4e085.tar.bz2
Only create a desktop shortcut for apps if the user requests.
BUG=32361 Review URL: http://codereview.chromium.org/551052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/crx_installer.h')
-rw-r--r--chrome/browser/extensions/crx_installer.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h
index 30f0cd5..0b19fef 100644
--- a/chrome/browser/extensions/crx_installer.h
+++ b/chrome/browser/extensions/crx_installer.h
@@ -72,7 +72,7 @@ class CrxInstaller
ExtensionInstallUI* client);
// ExtensionInstallUI::Delegate
- virtual void InstallUIProceed();
+ virtual void InstallUIProceed(bool create_app_shortcut);
virtual void InstallUIAbort();
private:
@@ -138,6 +138,11 @@ class CrxInstaller
// previously installed version of the extension.
bool allow_privilege_increase_;
+ // Whether to create an app shortcut after successful installation. This is
+ // set based on the user's selection in the UI and can only ever be true for
+ // apps.
+ bool create_app_shortcut_;
+
// The extension we're installing. We own this and either pass it off to
// ExtensionsService on success, or delete it on failure.
scoped_ptr<Extension> extension_;