| Index: chrome/common/extensions/extension.h
|
| diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
|
| index 87ba5d5b0fc090393df407c328f3e5da73104437..a2af398ca5d1d71ba1ac9af3afae688b5c9a09a7 100644
|
| --- a/chrome/common/extensions/extension.h
|
| +++ b/chrome/common/extensions/extension.h
|
| @@ -820,6 +820,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| return content_security_policy_;
|
| }
|
|
|
| + // Content pack related.
|
| + ExtensionResource GetContentPackSiteList() const;
|
| +
|
| GURL GetBackgroundURL() const;
|
|
|
| private:
|
| @@ -967,6 +970,14 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| bool LoadThemeDisplayProperties(const base::DictionaryValue* theme_value,
|
| string16* error);
|
|
|
| + bool LoadManagedModeFeatures(string16* error);
|
| + bool LoadManagedModeSites(
|
| + const base::DictionaryValue* content_pack_value,
|
| + string16* error);
|
| + bool LoadManagedModeConfigurations(
|
| + const base::DictionaryValue* content_pack_value,
|
| + string16* error);
|
| +
|
| // Helper function for implementing HasCachedImage/GetCachedImage. A return
|
| // value of NULL means there is no matching image cached (we allow caching an
|
| // empty SkBitmap).
|
| @@ -1178,6 +1189,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| // A map of display properties.
|
| scoped_ptr<base::DictionaryValue> theme_display_properties_;
|
|
|
| + // A file containing a list of sites for Managed Mode.
|
| + FilePath content_pack_site_list_;
|
| +
|
| // The homepage for this extension. Useful if it is not hosted by Google and
|
| // therefore does not have a Gallery URL.
|
| GURL homepage_url_;
|
|
|