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