Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1135)

Unified Diff: chrome/browser/extensions/settings/failing_settings_storage.h

Issue 8587025: Extension settings API: force through changes that come from sync (ignoring (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/settings/failing_settings_storage.h
diff --git a/chrome/browser/extensions/settings/failing_settings_storage.h b/chrome/browser/extensions/settings/failing_settings_storage.h
index db5c8c324bc6a694faeb76bedc160b8a65e1cf7e..81b650b490a86f0aa6815b9ec99ce89d45811e72 100644
--- a/chrome/browser/extensions/settings/failing_settings_storage.h
+++ b/chrome/browser/extensions/settings/failing_settings_storage.h
@@ -20,11 +20,17 @@ class FailingSettingsStorage : public SettingsStorage {
virtual ReadResult Get(const std::string& key) OVERRIDE;
virtual ReadResult Get(const std::vector<std::string>& keys) OVERRIDE;
virtual ReadResult Get() OVERRIDE;
- virtual WriteResult Set(const std::string& key, const Value& value) OVERRIDE;
- virtual WriteResult Set(const DictionaryValue& values) OVERRIDE;
- virtual WriteResult Remove(const std::string& key) OVERRIDE;
- virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
- virtual WriteResult Clear() OVERRIDE;
+ virtual WriteResult Set(
+ WriteOptions options,
+ const std::string& key,
+ const Value& value) OVERRIDE;
+ virtual WriteResult Set(
+ WriteOptions options, const DictionaryValue& values) OVERRIDE;
+ virtual WriteResult Remove(
+ WriteOptions options, const std::string& key) OVERRIDE;
+ virtual WriteResult Remove(
+ WriteOptions options, const std::vector<std::string>& keys) OVERRIDE;
+ virtual WriteResult Clear(WriteOptions options) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(FailingSettingsStorage);

Powered by Google App Engine
This is Rietveld 408576698