Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 3bed716201543043d856b891e76783934e819fad..46b48c0dc890541fa9fa27e90a16a215baabc711 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -44,6 +44,7 @@ class ExtensionContentSettingsStore; |
class ExtensionInstallUI; |
class ExtensionPreferenceEventRouter; |
class ExtensionServiceBackend; |
+class ExtensionSettings; |
struct ExtensionSyncData; |
class ExtensionToolbarModel; |
class ExtensionUpdater; |
@@ -152,6 +153,10 @@ class ExtensionService |
// The name of the file that the current active version number is stored in. |
static const char* kCurrentVersionFileName; |
+ // The name of the directory inside the profile where per-extension settings |
+ // are stored. |
+ static const char* kSettingsDirectoryName; |
+ |
// Determine if a given extension download should be treated as if it came |
// from the gallery. Note that this is requires *both* that the download_url |
// match and that the download was referred from a gallery page. |
@@ -186,6 +191,7 @@ class ExtensionService |
const CommandLine* command_line, |
const FilePath& install_directory, |
ExtensionPrefs* extension_prefs, |
+ ExtensionSettings* extension_settings, |
bool autoupdate_enabled, |
bool extensions_enabled); |
@@ -429,6 +435,8 @@ class ExtensionService |
// ExtensionPrefs* mutable_extension_prefs(). |
ExtensionPrefs* extension_prefs(); |
+ ExtensionSettings* extension_settings(); |
+ |
ExtensionContentSettingsStore* GetExtensionContentSettingsStore(); |
// Whether the extension service is ready. |
@@ -603,6 +611,9 @@ class ExtensionService |
// Preferences for the owning profile (weak reference). |
ExtensionPrefs* extension_prefs_; |
+ // Settings for the owning profile (weak reference). |
+ ExtensionSettings* extension_settings_; |
+ |
// The current list of installed extensions. |
// TODO(aa): This should use chrome/common/extensions/extension_set.h. |
ExtensionList extensions_; |