Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 3e105e6ae9c516b1dd9be6673c81ce2cf52cc63e..13c036e43d40860e05fa62a9af40f2acfb422e2d 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -159,6 +159,10 @@ class ExtensionService |
// settings are stored. |
static const char* kSyncExtensionSettingsDirectoryName; |
+ // Returns true if platform apps should be run in their own user data |
+ // directory. |
+ static bool PlatformAppRequiresSeparateDataDirectory(); |
+ |
// 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. |
@@ -704,6 +708,20 @@ class ExtensionService |
NaClModuleInfoList::iterator FindNaClModule(const GURL& url); |
+ // Sets up preferences for a newly installed extension. |
Robert Sesek
2012/02/09 18:43:59
Document the page_ordinal and initial_enable param
sail
2012/02/10 00:13:18
Done.
|
+ void SetupExtensionPrefs(ExtensionPrefs* prefs, |
+ const Extension* extension, |
+ bool from_webstore, |
+ const StringOrdinal& page_ordinal, |
+ bool initial_enable); |
+ |
+ // Sets up preferences for a newly installed extension in a new data |
+ // directory. |
+ void SetupExtensionPrefsInSeparateDataDirectory( |
+ const Extension* extension, |
+ bool from_webstore, |
+ const StringOrdinal& page_ordinal); |
+ |
// The profile this ExtensionService is part of. |
Profile* profile_; |