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

Unified Diff: services/preferences/public/cpp/pref_client_store.cc

Issue 2698913005: Re-enable preferences service access for browser+ash (Closed)
Patch Set: . Created 3 years, 10 months 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/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/public/cpp/pref_client_store.cc
diff --git a/services/preferences/public/cpp/pref_client_store.cc b/services/preferences/public/cpp/pref_client_store.cc
index 2ca813455408032c2f7caef7c9164bbda1706640..289aaaadd20fd276527dabc6930bdaadc4542b5d 100644
--- a/services/preferences/public/cpp/pref_client_store.cc
+++ b/services/preferences/public/cpp/pref_client_store.cc
@@ -82,7 +82,7 @@ void PrefClientStore::SetValueOnPreferenceManager(const std::string& key,
return;
auto prefs = base::MakeUnique<base::DictionaryValue>();
- prefs->Set(key, value.CreateDeepCopy());
+ prefs->SetWithoutPathExpansion(key, value.CreateDeepCopy());
prefs_service_ptr_->SetPreferences(std::move(prefs));
}
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698