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" | |
19 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
20 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
21 #include "base/prefs/base_prefs_export.h" | 20 #include "base/prefs/base_prefs_export.h" |
22 #include "base/prefs/persistent_pref_store.h" | 21 #include "base/prefs/persistent_pref_store.h" |
23 #include "base/threading/non_thread_safe.h" | 22 #include "base/threading/non_thread_safe.h" |
24 | 23 |
25 class PrefFilter; | 24 class PrefFilter; |
26 | 25 |
27 namespace base { | 26 namespace base { |
28 class Clock; | 27 class Clock; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 PrefReadError read_error_; | 218 PrefReadError read_error_; |
220 | 219 |
221 std::set<std::string> keys_need_empty_value_; | 220 std::set<std::string> keys_need_empty_value_; |
222 | 221 |
223 WriteCountHistogram write_count_histogram_; | 222 WriteCountHistogram write_count_histogram_; |
224 | 223 |
225 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); | 224 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); |
226 }; | 225 }; |
227 | 226 |
228 #endif // BASE_PREFS_JSON_PREF_STORE_H_ | 227 #endif // BASE_PREFS_JSON_PREF_STORE_H_ |
OLD | NEW |