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

Unified Diff: components/prefs/json_pref_store.h

Issue 2204943002: Integrate registry_hash_store_contents with the rest of tracked prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify has_pending_write_reply/callback booleans and logic Created 4 years, 2 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
Index: components/prefs/json_pref_store.h
diff --git a/components/prefs/json_pref_store.h b/components/prefs/json_pref_store.h
index 5b52360cfb2539ffe307ee65da4b22c8b9a87ef8..a1139d7cef1c278ba58e074826d4f987c066ed2b 100644
--- a/components/prefs/json_pref_store.h
+++ b/components/prefs/json_pref_store.h
@@ -252,8 +252,7 @@ class COMPONENTS_PREFS_EXPORT JsonPrefStore
std::set<std::string> keys_need_empty_value_;
- bool has_pending_successful_write_reply_;
- bool has_pending_write_callbacks_;
+ bool has_pending_write_reply_ = true;
base::Closure on_next_successful_write_reply_;
WriteCountHistogram write_count_histogram_;

Powered by Google App Engine
This is Rietveld 408576698