Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(947)

Unified Diff: chrome/browser/extensions/crx_installer.h

Issue 264763002: Support remote installation of extensions and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698