| 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/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/message_loop/message_loop_proxy.h" | |
| 19 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
| 20 #include "base/prefs/base_prefs_export.h" | 19 #include "base/prefs/base_prefs_export.h" |
| 21 #include "base/prefs/persistent_pref_store.h" | 20 #include "base/prefs/persistent_pref_store.h" |
| 22 #include "base/threading/non_thread_safe.h" | 21 #include "base/threading/non_thread_safe.h" |
| 23 | 22 |
| 24 class PrefFilter; | 23 class PrefFilter; |
| 25 | 24 |
| 26 namespace base { | 25 namespace base { |
| 27 class DictionaryValue; | 26 class DictionaryValue; |
| 28 class FilePath; | 27 class FilePath; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 bool initialized_; | 140 bool initialized_; |
| 142 bool filtering_in_progress_; | 141 bool filtering_in_progress_; |
| 143 PrefReadError read_error_; | 142 PrefReadError read_error_; |
| 144 | 143 |
| 145 std::set<std::string> keys_need_empty_value_; | 144 std::set<std::string> keys_need_empty_value_; |
| 146 | 145 |
| 147 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); | 146 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); |
| 148 }; | 147 }; |
| 149 | 148 |
| 150 #endif // BASE_PREFS_JSON_PREF_STORE_H_ | 149 #endif // BASE_PREFS_JSON_PREF_STORE_H_ |
| OLD | NEW |