diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-28 19:39:44 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-28 19:39:44 +0000 |
commit | 2a409538977a7f85ba52abca9477310371d7bfdd (patch) | |
tree | 8a072552135f053819697f63eed0cb319552c6d6 /chrome/browser/extensions/crx_installer.h | |
parent | 312ef3281c8e678ecdd54d90764e89e5b9407ec0 (diff) | |
download | chromium_src-2a409538977a7f85ba52abca9477310371d7bfdd.zip chromium_src-2a409538977a7f85ba52abca9477310371d7bfdd.tar.gz chromium_src-2a409538977a7f85ba52abca9477310371d7bfdd.tar.bz2 |
Don't show extension disabled infobar when manually updating
extensions that increase privilges.
BUG=20461
Review URL: http://codereview.chromium.org/174637
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/crx_installer.h')
-rw-r--r-- | chrome/browser/extensions/crx_installer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h index c1a4d55..23f5cda 100644 --- a/chrome/browser/extensions/crx_installer.h +++ b/chrome/browser/extensions/crx_installer.h @@ -59,6 +59,7 @@ class CrxInstaller : Extension::Location install_source, const std::string& expected_id, bool delete_crx, + bool allow_privilege_increase, MessageLoop* file_loop, ExtensionsService* frontend, ExtensionInstallUI* client); @@ -78,6 +79,7 @@ class CrxInstaller : Extension::Location install_source, const std::string& expected_id, bool delete_crx, + bool allow_privilege_increase, MessageLoop* file_loop, ExtensionsService* frontend, ExtensionInstallUI* client); @@ -128,6 +130,10 @@ class CrxInstaller : // Whether we're supposed to delete the source crx file on destruction. bool delete_crx_; + // Whether privileges should be allowed to silently increaes from any + // previously installed version of the extension. + bool allow_privilege_increase_; + // The message loop to use for file IO. MessageLoop* file_loop_; |