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 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSB_RELEASE_LOG_SOURCE_H_ | 4 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSB_RELEASE_LOG_SOURCE_H_ |
5 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSB_RELEASE_LOG_SOURCE_H_ | 5 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSB_RELEASE_LOG_SOURCE_H_ |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "chrome/browser/feedback/system_logs/system_logs_source.h" | 8 #include "components/feedback/system_logs/system_logs_source.h" |
9 | 9 |
10 namespace system_logs { | 10 namespace system_logs { |
11 | 11 |
12 // Fetches release information form /etc/lsb-release file. | 12 // Fetches release information form /etc/lsb-release file. |
13 class LsbReleaseLogSource : public SystemLogsSource { | 13 class LsbReleaseLogSource : public SystemLogsSource { |
14 public: | 14 public: |
15 LsbReleaseLogSource(); | 15 LsbReleaseLogSource(); |
16 ~LsbReleaseLogSource() override; | 16 ~LsbReleaseLogSource() override; |
17 | 17 |
18 // SystemLogsSource override. | 18 // SystemLogsSource override. |
19 void Fetch(const SysLogsSourceCallback& callback) override; | 19 void Fetch(const SysLogsSourceCallback& callback) override; |
20 | 20 |
21 private: | 21 private: |
22 DISALLOW_COPY_AND_ASSIGN(LsbReleaseLogSource); | 22 DISALLOW_COPY_AND_ASSIGN(LsbReleaseLogSource); |
23 }; | 23 }; |
24 | 24 |
25 } // namespace system_logs | 25 } // namespace system_logs |
26 | 26 |
27 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSB_RELEASE_LOG_SOURCE_H_ | 27 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSB_RELEASE_LOG_SOURCE_H_ |
OLD | NEW |