| 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 "chrome/browser/chromeos/system_logs/system_logs_fetcher.h" | 7 #include "chrome/browser/chromeos/system_logs/system_logs_fetcher_base.h" |
| 8 | 8 |
| 9 namespace chromeos { | 9 namespace chromeos { |
| 10 | 10 |
| 11 // Fetches release information form /etc/lsb-release file. | 11 // Fetches release information form /etc/lsb-release file. |
| 12 class LsbReleaseLogSource : public SystemLogsSource { | 12 class LsbReleaseLogSource : public SystemLogsSource { |
| 13 public: | 13 public: |
| 14 LsbReleaseLogSource() {} | 14 LsbReleaseLogSource() {} |
| 15 virtual ~LsbReleaseLogSource() {} | 15 virtual ~LsbReleaseLogSource() {} |
| 16 | 16 |
| 17 // SystemLogsSource override. | 17 // SystemLogsSource override. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 30 private: | 30 private: |
| 31 // Gets the info from the /etc/lsb-release and parses it | 31 // Gets the info from the /etc/lsb-release and parses it |
| 32 static void ReadLSBRelease(SystemLogsResponse* response); | 32 static void ReadLSBRelease(SystemLogsResponse* response); |
| 33 | 33 |
| 34 DISALLOW_COPY_AND_ASSIGN(LsbReleaseLogSource); | 34 DISALLOW_COPY_AND_ASSIGN(LsbReleaseLogSource); |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } // namespace chromeos | 37 } // namespace chromeos |
| 38 | 38 |
| 39 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSB_RELEASE_LOG_SOURCE_H_ | 39 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSB_RELEASE_LOG_SOURCE_H_ |
| OLD | NEW |