| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/chrome_system_logs_fetcher.h" | 5 #include "chrome/browser/feedback/system_logs/chrome_system_logs_fetcher.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_so
urce.h" | 9 #include "chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_so
urce.h" |
| 10 #include "chrome/browser/feedback/system_logs/log_sources/crash_ids_source.h" | 10 #include "chrome/browser/feedback/system_logs/log_sources/crash_ids_source.h" |
| 11 #include "chrome/browser/feedback/system_logs/log_sources/memory_details_log_sou
rce.h" | 11 #include "chrome/browser/feedback/system_logs/log_sources/memory_details_log_sou
rce.h" |
| 12 #include "chrome/browser/feedback/system_logs/system_logs_fetcher.h" | 12 #include "components/feedback/system_logs/system_logs_fetcher.h" |
| 13 | 13 |
| 14 #if defined(OS_CHROMEOS) | 14 #if defined(OS_CHROMEOS) |
| 15 #include "chrome/browser/chromeos/system_logs/command_line_log_source.h" | 15 #include "chrome/browser/chromeos/system_logs/command_line_log_source.h" |
| 16 #include "chrome/browser/chromeos/system_logs/dbus_log_source.h" | 16 #include "chrome/browser/chromeos/system_logs/dbus_log_source.h" |
| 17 #include "chrome/browser/chromeos/system_logs/debug_daemon_log_source.h" | 17 #include "chrome/browser/chromeos/system_logs/debug_daemon_log_source.h" |
| 18 #include "chrome/browser/chromeos/system_logs/device_event_log_source.h" | 18 #include "chrome/browser/chromeos/system_logs/device_event_log_source.h" |
| 19 #include "chrome/browser/chromeos/system_logs/lsb_release_log_source.h" | 19 #include "chrome/browser/chromeos/system_logs/lsb_release_log_source.h" |
| 20 #include "chrome/browser/chromeos/system_logs/touch_log_source.h" | 20 #include "chrome/browser/chromeos/system_logs/touch_log_source.h" |
| 21 #endif | 21 #endif |
| 22 | 22 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 40 // Debug Daemon data source - currently only this data source supports | 40 // Debug Daemon data source - currently only this data source supports |
| 41 // the scrub_data parameter, but the others still get scrubbed by | 41 // the scrub_data parameter, but the others still get scrubbed by |
| 42 // SystemLogsFetcher. | 42 // SystemLogsFetcher. |
| 43 fetcher->AddSource(base::MakeUnique<DebugDaemonLogSource>(scrub_data)); | 43 fetcher->AddSource(base::MakeUnique<DebugDaemonLogSource>(scrub_data)); |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 return fetcher; | 46 return fetcher; |
| 47 } | 47 } |
| 48 | 48 |
| 49 } // namespace system_logs | 49 } // namespace system_logs |
| OLD | NEW |