Index: chrome/browser/extensions/external_extension_provider_impl.h |
diff --git a/chrome/browser/extensions/external_extension_provider_impl.h b/chrome/browser/extensions/external_extension_provider_impl.h |
index 80044c982d74b6139d42f45b6391fb7e7e38d8dd..ed1e9e461f1da364729ddf512a198db82eaaf8a8 100644 |
--- a/chrome/browser/extensions/external_extension_provider_impl.h |
+++ b/chrome/browser/extensions/external_extension_provider_impl.h |
@@ -71,6 +71,10 @@ class ExternalExtensionProviderImpl |
static const char kExternalUpdateUrl[]; |
static const char kSupportedLocales[]; |
+ void set_should_acknowledge(bool should_acknowledge) { |
+ should_acknowledge_ = should_acknowledge; |
+ } |
+ |
private: |
// Location for external extensions that are provided by this provider from |
// local crx files. |
@@ -99,6 +103,10 @@ class ExternalExtensionProviderImpl |
// when calling Extenion::Create() by the crx installer. |
int creation_flags_; |
+ // Whether loaded extensions should be automatically acknowledged, so that |
+ // the user doesn't see an alert about them. |
+ bool should_acknowledge_; |
Roger Tawa OOO till Jul 10th
2011/12/05 19:42:38
maybe rename this to auto_acknowledge_ ?
|
+ |
DISALLOW_COPY_AND_ASSIGN(ExternalExtensionProviderImpl); |
}; |