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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PREFS_JSON_PREF_STORE_H_ 5 #ifndef COMPONENTS_PREFS_JSON_PREF_STORE_H_
6 #define COMPONENTS_PREFS_JSON_PREF_STORE_H_ 6 #define COMPONENTS_PREFS_JSON_PREF_STORE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 std::unique_ptr<ReadErrorDelegate> error_delegate_; 246 std::unique_ptr<ReadErrorDelegate> error_delegate_;
247 247
248 bool initialized_; 248 bool initialized_;
249 bool filtering_in_progress_; 249 bool filtering_in_progress_;
250 bool pending_lossy_write_; 250 bool pending_lossy_write_;
251 PrefReadError read_error_; 251 PrefReadError read_error_;
252 252
253 std::set<std::string> keys_need_empty_value_; 253 std::set<std::string> keys_need_empty_value_;
254 254
255 bool has_pending_successful_write_reply_; 255 bool has_pending_write_reply_ = true;
256 bool has_pending_write_callbacks_;
257 base::Closure on_next_successful_write_reply_; 256 base::Closure on_next_successful_write_reply_;
258 257
259 WriteCountHistogram write_count_histogram_; 258 WriteCountHistogram write_count_histogram_;
260 259
261 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); 260 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore);
262 }; 261 };
263 262
264 #endif // COMPONENTS_PREFS_JSON_PREF_STORE_H_ 263 #endif // COMPONENTS_PREFS_JSON_PREF_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698