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 CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_ | 5 #ifndef CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_ |
6 #define CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_ | 6 #define CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" |
10 | 11 |
11 class PrefService; | 12 class PrefService; |
12 class Profile; | 13 class Profile; |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class CommandLine; | 16 class CommandLine; |
16 } | 17 } |
17 | 18 |
18 namespace user_prefs { | 19 namespace user_prefs { |
19 class PrefRegistrySyncable; | 20 class PrefRegistrySyncable; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // method evaluates and caches if the platform controls have been enabled on | 75 // method evaluates and caches if the platform controls have been enabled on |
75 // the first call, which must be on the UI thread when IO and blocking are | 76 // the first call, which must be on the UI thread when IO and blocking are |
76 // allowed. Subsequent calls may be from any thread. | 77 // allowed. Subsequent calls may be from any thread. |
77 static bool ArePlatformParentalControlsEnabled() WARN_UNUSED_RESULT; | 78 static bool ArePlatformParentalControlsEnabled() WARN_UNUSED_RESULT; |
78 | 79 |
79 private: | 80 private: |
80 DISALLOW_IMPLICIT_CONSTRUCTORS(IncognitoModePrefs); | 81 DISALLOW_IMPLICIT_CONSTRUCTORS(IncognitoModePrefs); |
81 }; | 82 }; |
82 | 83 |
83 #endif // CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_ | 84 #endif // CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_ |
OLD | NEW |