Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: chrome/browser/chromeos/system_logs/lsbrelease_log_source.h

Issue 10827130: Refactoring the SysInfoProvider. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSBRELEASE_LOG_SOURCE_H_
5 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSBRELEASE_LOG_SOURCE_H_
6
7 #include "chrome/browser/chromeos/system_logs/system_logs_fetcher.h"
8
9 namespace chromeos {
10
11 // Fetches release information form /etc/lsb-release file.
12 class LsbReleaseLogSource : public SystemLogsSource {
13 public:
14 LsbReleaseLogSource() {}
15 virtual ~LsbReleaseLogSource() {}
16
17 // SystemLogsSource override.
18 virtual void Fetch(const SysLogsFetcherCallback& request) OVERRIDE;
19
20 private:
21 // Gets the info from the /etc/lsb-release and parses it
22 static void Execute(SystemLogsResponse* response);
23
24 DISALLOW_COPY_AND_ASSIGN(LsbReleaseLogSource);
25 };
26
27 } // namespace chromeos
28
29 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_LSBRELEASE_LOG_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698