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 #pragma once | |
14 | 13 |
15 #include <set> | 14 #include <set> |
16 #include <string> | 15 #include <string> |
17 | 16 |
18 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
19 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
20 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
21 #include "base/values.h" | 20 #include "base/values.h" |
22 | 21 |
23 class CommandLine; | 22 class CommandLine; |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 | 430 |
432 // Whether CreateIncognitoPrefService() or | 431 // Whether CreateIncognitoPrefService() or |
433 // CreatePrefServiceWithPerTabPrefStore() have been called to create a | 432 // CreatePrefServiceWithPerTabPrefStore() have been called to create a |
434 // "forked" PrefService. | 433 // "forked" PrefService. |
435 bool pref_service_forked_; | 434 bool pref_service_forked_; |
436 | 435 |
437 DISALLOW_COPY_AND_ASSIGN(PrefService); | 436 DISALLOW_COPY_AND_ASSIGN(PrefService); |
438 }; | 437 }; |
439 | 438 |
440 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_H_ | 439 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_H_ |
OLD | NEW |