| Index: chrome/browser/extensions/extension_scoped_prefs.h
|
| diff --git a/chrome/browser/extensions/extension_scoped_prefs.h b/chrome/browser/extensions/extension_scoped_prefs.h
|
| index 0989f143ed98c0f0e4edfe663e7b6f9536a25b43..d69b35cfcfef3d9850df8b908ffe41655f221c70 100644
|
| --- a/chrome/browser/extensions/extension_scoped_prefs.h
|
| +++ b/chrome/browser/extensions/extension_scoped_prefs.h
|
| @@ -15,6 +15,12 @@ class ExtensionScopedPrefs {
|
| const std::string& key,
|
| base::Value* value) = 0;
|
|
|
| + // Sets the pref |key| for extension |id| to |value|.
|
| + virtual void UpdateExtensionPrefList(
|
| + const std::string& id,
|
| + const std::string& key,
|
| + const std::vector<std::string>& value) = 0;
|
| +
|
| // Deletes the pref dictionary for extension |id|.
|
| virtual void DeleteExtensionPrefs(const std::string& id) = 0;
|
|
|
| @@ -33,6 +39,13 @@ class ExtensionScopedPrefs {
|
| const std::string& pref_key,
|
| const base::ListValue** out_value) const = 0;
|
|
|
| + // Reads a list of string prefs |pref_key| from extension with id
|
| + // |extension_id|.
|
| + virtual bool ReadExtensionPrefStringList(
|
| + const std::string& extension_id,
|
| + const std::string& pref_key,
|
| + std::vector<std::string>* out_value) const = 0;
|
| +
|
| // Reads a string pref |pref_key| from extension with id |extension_id|.
|
| virtual bool ReadExtensionPrefString(const std::string& extension_id,
|
| const std::string& pref_key,
|
|
|