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_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/feedback/system_logs/system_logs_source.h" | 9 #include "components/feedback/system_logs/system_logs_source.h" |
10 | 10 |
11 namespace system_logs { | 11 namespace system_logs { |
12 | 12 |
13 // This class gathers logs data from various command line tools which we can | 13 // This class gathers logs data from various command line tools which we can |
14 // not access using Debug Daemon. | 14 // not access using Debug Daemon. |
15 class CommandLineLogSource : public SystemLogsSource { | 15 class CommandLineLogSource : public SystemLogsSource { |
16 public: | 16 public: |
17 CommandLineLogSource(); | 17 CommandLineLogSource(); |
18 ~CommandLineLogSource() override; | 18 ~CommandLineLogSource() override; |
19 | 19 |
20 // SystemLogsSource override. | 20 // SystemLogsSource override. |
21 void Fetch(const SysLogsSourceCallback& callback) override; | 21 void Fetch(const SysLogsSourceCallback& callback) override; |
22 | 22 |
23 private: | 23 private: |
24 DISALLOW_COPY_AND_ASSIGN(CommandLineLogSource); | 24 DISALLOW_COPY_AND_ASSIGN(CommandLineLogSource); |
25 }; | 25 }; |
26 | 26 |
27 } // namespace system_logs | 27 } // namespace system_logs |
28 | 28 |
29 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_ | 29 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_ |
OLD | NEW |