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

Unified Diff: chrome/browser/extensions/settings/testing_settings_storage.cc

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: sync 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
« no previous file with comments | « chrome/browser/extensions/settings/testing_settings_storage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/settings/testing_settings_storage.cc
diff --git a/chrome/browser/extensions/settings/testing_settings_storage.cc b/chrome/browser/extensions/settings/testing_settings_storage.cc
index 7b256ec2157095ae3b94d9066124c8cb1bad7dcf..fc78991f881c5f6ebbacc3f65bd6638fb4fe5c17 100644
--- a/chrome/browser/extensions/settings/testing_settings_storage.cc
+++ b/chrome/browser/extensions/settings/testing_settings_storage.cc
@@ -67,14 +67,14 @@ SettingsStorage::ReadResult TestingSettingsStorage::Get() {
}
SettingsStorage::WriteResult TestingSettingsStorage::Set(
- const std::string& key, const Value& value) {
+ WriteOptions options, const std::string& key, const Value& value) {
DictionaryValue settings;
settings.SetWithoutPathExpansion(key, value.DeepCopy());
- return Set(settings);
+ return Set(options, settings);
}
SettingsStorage::WriteResult TestingSettingsStorage::Set(
- const DictionaryValue& settings) {
+ WriteOptions options, const DictionaryValue& settings) {
if (fail_all_requests_) {
return WriteResultError();
}
« no previous file with comments | « chrome/browser/extensions/settings/testing_settings_storage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698