diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 22:38:31 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 22:38:31 +0000 |
commit | 1bf73cc395040e15045358e1ce2884399eda6c73 (patch) | |
tree | 3e3048c7f4de6cc483b1f5482e9c50a5b81824c6 /chrome/browser/extensions/crx_installer.h | |
parent | 1977348dd202ea5bc716f44be23972520c434ed9 (diff) | |
download | chromium_src-1bf73cc395040e15045358e1ce2884399eda6c73.zip chromium_src-1bf73cc395040e15045358e1ce2884399eda6c73.tar.gz chromium_src-1bf73cc395040e15045358e1ce2884399eda6c73.tar.bz2 |
Mark some externally installed extensions as 'bookmark apps'
BUG=101605
TEST=When clearing user data, make sure none of the default apps leave behind
any local storage
Review URL: http://codereview.chromium.org/8396047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/crx_installer.h')
-rw-r--r-- | chrome/browser/extensions/crx_installer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h index 995e850..e83342d 100644 --- a/chrome/browser/extensions/crx_installer.h +++ b/chrome/browser/extensions/crx_installer.h @@ -113,6 +113,9 @@ class CrxInstaller virtual void InstallUIProceed() OVERRIDE; virtual void InstallUIAbort(bool user_initiated) OVERRIDE; + int creation_flags() const { return creation_flags_; } + void set_creation_flags(int val) { creation_flags_ = val; } + const GURL& download_url() const { return download_url_; } void set_download_url(const GURL& val) { download_url_ = val; } @@ -312,6 +315,10 @@ class CrxInstaller // on failure rates, broken down by the cause of the install. extension_misc::CrxInstallCause install_cause_; + // Creation flags to use for the extension. These flags will be used + // when calling Extenion::Create() by the crx installer. + int creation_flags_; + DISALLOW_COPY_AND_ASSIGN(CrxInstaller); }; |