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 #ifndef CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_SOUR
CE_H_ | 5 #ifndef CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_SOUR
CE_H_ |
6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_SOUR
CE_H_ | 6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_SOUR
CE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
8 #include "chrome/browser/feedback/system_logs/system_logs_fetcher_base.h" | 10 #include "chrome/browser/feedback/system_logs/system_logs_fetcher_base.h" |
9 | 11 |
10 namespace system_logs { | 12 namespace system_logs { |
11 | 13 |
12 // Fetches internal Chrome logs. | 14 // Fetches internal Chrome logs. |
13 class ChromeInternalLogSource : public SystemLogsSource { | 15 class ChromeInternalLogSource : public SystemLogsSource { |
14 public: | 16 public: |
15 ChromeInternalLogSource(); | 17 ChromeInternalLogSource(); |
16 ~ChromeInternalLogSource() override; | 18 ~ChromeInternalLogSource() override; |
17 | 19 |
18 // SystemLogsSource override. | 20 // SystemLogsSource override. |
19 void Fetch(const SysLogsSourceCallback& request) override; | 21 void Fetch(const SysLogsSourceCallback& request) override; |
20 | 22 |
21 private: | 23 private: |
22 void PopulateSyncLogs(SystemLogsResponse* response); | 24 void PopulateSyncLogs(SystemLogsResponse* response); |
23 void PopulateExtensionInfoLogs(SystemLogsResponse* response); | 25 void PopulateExtensionInfoLogs(SystemLogsResponse* response); |
24 void PopulateDataReductionProxyLogs(SystemLogsResponse* response); | 26 void PopulateDataReductionProxyLogs(SystemLogsResponse* response); |
25 #if defined(OS_WIN) | 27 #if defined(OS_WIN) |
26 void PopulateUsbKeyboardDetected(SystemLogsResponse* response); | 28 void PopulateUsbKeyboardDetected(SystemLogsResponse* response); |
27 #endif | 29 #endif |
28 | 30 |
29 DISALLOW_COPY_AND_ASSIGN(ChromeInternalLogSource); | 31 DISALLOW_COPY_AND_ASSIGN(ChromeInternalLogSource); |
30 }; | 32 }; |
31 | 33 |
32 } // namespace system_logs | 34 } // namespace system_logs |
33 | 35 |
34 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_S
OURCE_H_ | 36 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_S
OURCE_H_ |
OLD | NEW |