| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_CHROME_INTERNAL_LOG_SOURCE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_CHROME_INTERNAL_LOG_SOURCE_H_ |
| 7 |
| 8 #include "chrome/browser/chromeos/system_logs/system_logs_fetcher.h" |
| 9 |
| 10 namespace chromeos { |
| 11 |
| 12 // Fetches internal Chrome logs. |
| 13 class ChromeInternalLogSource : public SystemLogsSource { |
| 14 public: |
| 15 ChromeInternalLogSource() {} |
| 16 virtual ~ChromeInternalLogSource() {} |
| 17 |
| 18 // SystemLogsSource override. |
| 19 virtual void Fetch(const SysLogsSourceCallback& request) OVERRIDE; |
| 20 |
| 21 private: |
| 22 void PopulateSyncLogs(SystemLogsResponse* response); |
| 23 void PopulateExtensionInfoLogs(SystemLogsResponse* response); |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(ChromeInternalLogSource); |
| 26 }; |
| 27 |
| 28 } // namespace chromeos |
| 29 |
| 30 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_CHROME_INTERNAL_LOG_SOURCE_H_ |
| OLD | NEW |