diff options
Diffstat (limited to 'chrome/browser/extensions/crx_installer.h')
-rw-r--r-- | chrome/browser/extensions/crx_installer.h | 7 |
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_; |