Index: chrome/browser/extensions/crx_installer.h |
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h |
index 8e3575bd4ff3a1fd3142afcb09c0b2deb2cd05e8..93051409228aa4a37d32d42a32ff9423116e92df 100644 |
--- a/chrome/browser/extensions/crx_installer.h |
+++ b/chrome/browser/extensions/crx_installer.h |
@@ -133,6 +133,9 @@ class CrxInstaller |
bool allow_silent_install() const { return allow_silent_install_; } |
void set_allow_silent_install(bool val) { allow_silent_install_ = val; } |
+ bool grant_permissions() const { return grant_permissions_; } |
+ void set_grant_permissions(bool val) { grant_permissions_ = val; } |
+ |
bool is_gallery_install() const { |
return (creation_flags_ & Extension::FROM_WEBSTORE) > 0; |
} |
@@ -348,6 +351,10 @@ class CrxInstaller |
// dialog. |
bool allow_silent_install_; |
+ // Allows for the possibility of an installation without granting any |
+ // permissions to the extension. |
+ bool grant_permissions_; |
+ |
// The value of the content type header sent with the CRX. |
// Ignorred unless |require_extension_mime_type_| is true. |
std::string original_mime_type_; |