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 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 5 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
9 #include "base/metrics/histogram_macros.h" | 12 #include "base/metrics/histogram_macros.h" |
10 #include "base/prefs/pref_service.h" | 13 #include "base/prefs/pref_service.h" |
11 #include "base/threading/thread_restrictions.h" | 14 #include "base/threading/thread_restrictions.h" |
12 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "build/build_config.h" |
13 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
14 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
15 #include "chrome/common/features.h" | 19 #include "chrome/common/features.h" |
16 #include "chrome/common/pref_names.h" | 20 #include "chrome/common/pref_names.h" |
17 #include "components/pref_registry/pref_registry_syncable.h" | 21 #include "components/pref_registry/pref_registry_syncable.h" |
18 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
19 | 23 |
20 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
21 #include <windows.h> | 25 #include <windows.h> |
22 #include <wpcapi.h> | 26 #include <wpcapi.h> |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // crbug.com/564742 | 218 // crbug.com/564742 |
215 NOTIMPLEMENTED(); | 219 NOTIMPLEMENTED(); |
216 return false; | 220 return false; |
217 #elif BUILDFLAG(ANDROID_JAVA_UI) | 221 #elif BUILDFLAG(ANDROID_JAVA_UI) |
218 return chrome::android::ChromeApplication::AreParentalControlsEnabled(); | 222 return chrome::android::ChromeApplication::AreParentalControlsEnabled(); |
219 #else | 223 #else |
220 return false; | 224 return false; |
221 #endif | 225 #endif |
222 } | 226 } |
223 | 227 |
OLD | NEW |