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 // This provides a way to access the application's current preferences. | 5 // This provides a way to access the application's current preferences. |
6 | 6 |
7 // Chromium settings and storage represent user-selected preferences and | 7 // Chromium settings and storage represent user-selected preferences and |
8 // information and MUST not be extracted, overwritten or modified except | 8 // information and MUST not be extracted, overwritten or modified except |
9 // through Chromium defined APIs. | 9 // through Chromium defined APIs. |
10 | 10 |
11 #ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_H_ | 11 #ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_H_ |
12 #define CHROME_BROWSER_PREFS_PREF_SERVICE_H_ | 12 #define CHROME_BROWSER_PREFS_PREF_SERVICE_H_ |
13 | 13 |
14 #include <set> | 14 #include <set> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
| 19 #include "base/prefs/public/pref_service_base.h" |
19 #include "base/threading/non_thread_safe.h" | 20 #include "base/threading/non_thread_safe.h" |
20 #include "chrome/browser/api/prefs/pref_service_base.h" | |
21 | 21 |
22 class CommandLine; | 22 class CommandLine; |
23 class DefaultPrefStore; | 23 class DefaultPrefStore; |
24 class PersistentPrefStore; | 24 class PersistentPrefStore; |
25 class PrefModelAssociator; | 25 class PrefModelAssociator; |
26 class PrefNotifier; | 26 class PrefNotifier; |
27 class PrefNotifierImpl; | 27 class PrefNotifierImpl; |
28 class PrefStore; | 28 class PrefStore; |
29 class PrefValueStore; | 29 class PrefValueStore; |
30 | 30 |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 | 340 |
341 // Whether CreateIncognitoPrefService() or | 341 // Whether CreateIncognitoPrefService() or |
342 // CreatePrefServiceWithPerTabPrefStore() have been called to create a | 342 // CreatePrefServiceWithPerTabPrefStore() have been called to create a |
343 // "forked" PrefService. | 343 // "forked" PrefService. |
344 bool pref_service_forked_; | 344 bool pref_service_forked_; |
345 | 345 |
346 DISALLOW_COPY_AND_ASSIGN(PrefService); | 346 DISALLOW_COPY_AND_ASSIGN(PrefService); |
347 }; | 347 }; |
348 | 348 |
349 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_H_ | 349 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_H_ |
OLD | NEW |