OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/feedback/system_logs/log_sources/chrome_internal_log_so
urce.h" | 5 #include "chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_so
urce.h" |
6 | 6 |
7 #include "base/json/json_string_value_serializer.h" | 7 #include "base/json/json_string_value_serializer.h" |
8 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
11 #include "chrome/browser/profiles/profile_manager.h" | 11 #include "chrome/browser/profiles/profile_manager.h" |
12 #include "chrome/browser/sync/profile_sync_service_factory.h" | 12 #include "chrome/browser/sync/profile_sync_service_factory.h" |
13 #include "chrome/common/channel_info.h" | 13 #include "chrome/common/channel_info.h" |
14 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
15 #include "components/browser_sync/browser/profile_sync_service.h" | 15 #include "components/browser_sync/browser/profile_sync_service.h" |
16 #include "components/prefs/pref_service.h" | 16 #include "components/prefs/pref_service.h" |
17 #include "components/sync_driver/about_sync_util.h" | 17 #include "components/sync/driver/about_sync_util.h" |
18 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
19 #include "extensions/browser/extension_registry.h" | 19 #include "extensions/browser/extension_registry.h" |
20 #include "extensions/common/extension.h" | 20 #include "extensions/common/extension.h" |
21 #include "extensions/common/extension_set.h" | 21 #include "extensions/common/extension_set.h" |
22 | 22 |
23 #if defined(OS_CHROMEOS) | 23 #if defined(OS_CHROMEOS) |
24 #include "chrome/browser/metrics/chromeos_metrics_provider.h" | 24 #include "chrome/browser/metrics/chromeos_metrics_provider.h" |
25 #include "chromeos/system/statistics_provider.h" | 25 #include "chromeos/system/statistics_provider.h" |
26 #endif | 26 #endif |
27 | 27 |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 SystemLogsResponse* response) { | 233 SystemLogsResponse* response) { |
234 std::string reason; | 234 std::string reason; |
235 bool result = base::win::IsKeyboardPresentOnSlate(&reason); | 235 bool result = base::win::IsKeyboardPresentOnSlate(&reason); |
236 (*response)[kUsbKeyboardDetected] = result ? "Keyboard Detected:\n" : | 236 (*response)[kUsbKeyboardDetected] = result ? "Keyboard Detected:\n" : |
237 "No Keyboard:\n"; | 237 "No Keyboard:\n"; |
238 (*response)[kUsbKeyboardDetected] += reason; | 238 (*response)[kUsbKeyboardDetected] += reason; |
239 } | 239 } |
240 #endif | 240 #endif |
241 | 241 |
242 } // namespace system_logs | 242 } // namespace system_logs |
OLD | NEW |