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/ui/webui/options/browser_options_handler.h" | 5 #include "chrome/browser/ui/webui/options/browser_options_handler.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 #include "ui/base/l10n/l10n_util.h" | 112 #include "ui/base/l10n/l10n_util.h" |
113 #include "ui/base/webui/web_ui_util.h" | 113 #include "ui/base/webui/web_ui_util.h" |
114 | 114 |
115 #if !defined(OS_CHROMEOS) | 115 #if !defined(OS_CHROMEOS) |
116 #include "chrome/browser/ui/startup/default_browser_prompt.h" | 116 #include "chrome/browser/ui/startup/default_browser_prompt.h" |
117 #include "chrome/browser/ui/webui/settings_utils.h" | 117 #include "chrome/browser/ui/webui/settings_utils.h" |
118 #endif | 118 #endif |
119 | 119 |
120 #if defined(OS_CHROMEOS) | 120 #if defined(OS_CHROMEOS) |
121 #include "ash/common/accessibility_types.h" // nogncheck | 121 #include "ash/common/accessibility_types.h" // nogncheck |
122 #include "ash/common/system/chromeos/devicetype_utils.h" // nogncheck | |
123 #include "ash/shell.h" // nogncheck | 122 #include "ash/shell.h" // nogncheck |
| 123 #include "ash/system/devicetype_utils.h" // nogncheck |
124 #include "chrome/browser/browser_process_platform_part.h" | 124 #include "chrome/browser/browser_process_platform_part.h" |
125 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 125 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
126 #include "chrome/browser/chromeos/arc/arc_util.h" | 126 #include "chrome/browser/chromeos/arc/arc_util.h" |
127 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h" | 127 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h" |
128 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" | 128 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
129 #include "chrome/browser/chromeos/net/wake_on_wifi_manager.h" | 129 #include "chrome/browser/chromeos/net/wake_on_wifi_manager.h" |
130 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 130 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
131 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 131 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
132 #include "chrome/browser/chromeos/reset/metrics.h" | 132 #include "chrome/browser/chromeos/reset/metrics.h" |
133 #include "chrome/browser/chromeos/settings/cros_settings.h" | 133 #include "chrome/browser/chromeos/settings/cros_settings.h" |
(...skipping 2220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2354 | 2354 |
2355 bool BrowserOptionsHandler::IsDeviceOwnerProfile() { | 2355 bool BrowserOptionsHandler::IsDeviceOwnerProfile() { |
2356 #if defined(OS_CHROMEOS) | 2356 #if defined(OS_CHROMEOS) |
2357 return chromeos::ProfileHelper::IsOwnerProfile(Profile::FromWebUI(web_ui())); | 2357 return chromeos::ProfileHelper::IsOwnerProfile(Profile::FromWebUI(web_ui())); |
2358 #else | 2358 #else |
2359 return true; | 2359 return true; |
2360 #endif | 2360 #endif |
2361 } | 2361 } |
2362 | 2362 |
2363 } // namespace options | 2363 } // namespace options |
OLD | NEW |