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

Unified Diff: base/prefs/pref_service.cc

Issue 79013003: Introduce a temporary workaround to ensure tracked preferences set to empty list/dict are not confu… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark in constructor Created 7 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 | « base/prefs/pref_service.h ('k') | chrome/browser/prefs/pref_metrics_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_service.cc
diff --git a/base/prefs/pref_service.cc b/base/prefs/pref_service.cc
index 296e6f2a9130ee2a599b3c485657b47205eb0a6b..4c707a50d6c231137055bf27b7930f945aa3045e 100644
--- a/base/prefs/pref_service.cc
+++ b/base/prefs/pref_service.cc
@@ -297,6 +297,10 @@ const base::Value* PrefService::GetDefaultPrefValue(const char* path) const {
return value;
}
+void PrefService::MarkUserStoreNeedsEmptyValue(const std::string& key) const {
+ user_pref_store_->MarkNeedsEmptyValue(key);
+}
+
const base::ListValue* PrefService::GetList(const char* path) const {
DCHECK(CalledOnValidThread());
« no previous file with comments | « base/prefs/pref_service.h ('k') | chrome/browser/prefs/pref_metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698