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

Unified Diff: chrome/browser/extensions/settings/settings_storage_cache.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
Index: chrome/browser/extensions/settings/settings_storage_cache.cc
diff --git a/chrome/browser/extensions/settings/settings_storage_cache.cc b/chrome/browser/extensions/settings/settings_storage_cache.cc
index d8a254109f343c7c4642e18795a5980e1ac5ad5b..3165b49548b4f38e34b5d0c9f7192f3885cb5518 100644
--- a/chrome/browser/extensions/settings/settings_storage_cache.cc
+++ b/chrome/browser/extensions/settings/settings_storage_cache.cc
@@ -67,8 +67,8 @@ SettingsStorage::ReadResult SettingsStorageCache::Get() {
}
SettingsStorage::WriteResult SettingsStorageCache::Set(
- const std::string& key, const Value& value) {
- WriteResult result = delegate_->Set(key, value);
+ WriteOptions options, const std::string& key, const Value& value) {
+ WriteResult result = delegate_->Set(options, key, value);
if (!result.HasError()) {
cache_.SetWithoutPathExpansion(key, value.DeepCopy());
}
@@ -76,8 +76,8 @@ SettingsStorage::WriteResult SettingsStorageCache::Set(
}
SettingsStorage::WriteResult SettingsStorageCache::Set(
- const DictionaryValue& settings) {
- WriteResult result = delegate_->Set(settings);
+ WriteOptions options, const DictionaryValue& settings) {
+ WriteResult result = delegate_->Set(options, settings);
if (result.HasError()) {
return result;
}

Powered by Google App Engine
This is Rietveld 408576698