| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/files/important_file_writer.h" | 16 #include "base/files/important_file_writer.h" |
| 17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
| 18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
| 21 #include "base/observer_list.h" | 21 #include "base/observer_list.h" |
| 22 #include "base/prefs/base_prefs_export.h" | |
| 23 #include "base/prefs/persistent_pref_store.h" | |
| 24 #include "base/threading/non_thread_safe.h" | 22 #include "base/threading/non_thread_safe.h" |
| 23 #include "components/prefs/base_prefs_export.h" |
| 24 #include "components/prefs/persistent_pref_store.h" |
| 25 | 25 |
| 26 class PrefFilter; | 26 class PrefFilter; |
| 27 | 27 |
| 28 namespace base { | 28 namespace base { |
| 29 class Clock; | 29 class Clock; |
| 30 class DictionaryValue; | 30 class DictionaryValue; |
| 31 class FilePath; | 31 class FilePath; |
| 32 class HistogramBase; | 32 class HistogramBase; |
| 33 class JsonPrefStoreLossyWriteTest; | 33 class JsonPrefStoreLossyWriteTest; |
| 34 class SequencedTaskRunner; | 34 class SequencedTaskRunner; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 PrefReadError read_error_; | 220 PrefReadError read_error_; |
| 221 | 221 |
| 222 std::set<std::string> keys_need_empty_value_; | 222 std::set<std::string> keys_need_empty_value_; |
| 223 | 223 |
| 224 WriteCountHistogram write_count_histogram_; | 224 WriteCountHistogram write_count_histogram_; |
| 225 | 225 |
| 226 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); | 226 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 #endif // BASE_PREFS_JSON_PREF_STORE_H_ | 229 #endif // BASE_PREFS_JSON_PREF_STORE_H_ |
| OLD | NEW |