OLD | NEW |
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 BASE_PREFS_JSON_PREF_STORE_H_ | 5 #ifndef BASE_PREFS_JSON_PREF_STORE_H_ |
6 #define BASE_PREFS_JSON_PREF_STORE_H_ | 6 #define BASE_PREFS_JSON_PREF_STORE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/files/important_file_writer.h" | 15 #include "base/files/important_file_writer.h" |
16 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 20 #include "base/message_loop/message_loop_proxy.h" |
20 #include "base/observer_list.h" | 21 #include "base/observer_list.h" |
21 #include "base/prefs/base_prefs_export.h" | 22 #include "base/prefs/base_prefs_export.h" |
22 #include "base/prefs/persistent_pref_store.h" | 23 #include "base/prefs/persistent_pref_store.h" |
23 #include "base/threading/non_thread_safe.h" | 24 #include "base/threading/non_thread_safe.h" |
24 | 25 |
25 class PrefFilter; | 26 class PrefFilter; |
26 | 27 |
27 namespace base { | 28 namespace base { |
28 class Clock; | 29 class Clock; |
29 class DictionaryValue; | 30 class DictionaryValue; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 PrefReadError read_error_; | 208 PrefReadError read_error_; |
208 | 209 |
209 std::set<std::string> keys_need_empty_value_; | 210 std::set<std::string> keys_need_empty_value_; |
210 | 211 |
211 WriteCountHistogram write_count_histogram_; | 212 WriteCountHistogram write_count_histogram_; |
212 | 213 |
213 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); | 214 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); |
214 }; | 215 }; |
215 | 216 |
216 #endif // BASE_PREFS_JSON_PREF_STORE_H_ | 217 #endif // BASE_PREFS_JSON_PREF_STORE_H_ |
OLD | NEW |