Chromium Code Reviews| Index: chrome/browser/chromeos/system/commandline_fetcher.h |
| diff --git a/chrome/browser/chromeos/system/commandline_fetcher.h b/chrome/browser/chromeos/system/commandline_fetcher.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..777bd4e76d8a7b1496af65a13615a10bc892932b |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/system/commandline_fetcher.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_COMMANDLINE_FETCHER_H_ |
| +#define CHROME_BROWSER_CHROMEOS_SYSTEM_COMMANDLINE_FETCHER_H_ |
| + |
| +#include <string> |
| + |
| +#include "chrome/browser/chromeos/system/syslogs_fetcher.h" |
| + |
| +namespace chromeos { |
| +namespace system { |
| + |
| +class CommandLineFetcher:public SysLogsInterface { |
| + public: |
| + void Fetch(SysLogsFetcherCallback); |
| + CommandLineFetcher(std::string key, std::string command):key_(key), |
|
rkc1
2012/08/04 01:15:05
) : key_
tudalex(Chromium)
2012/08/05 01:15:12
Done.
|
| + command_(command) {} |
| + ~CommandLineFetcher() {} |
| + private: |
| + std::string key_; |
| + std::string command_; |
| +}; |
| + |
| +} // namespace system |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_SYSTEM_COMMANDLINE_FETCHER_H_ |