Chromium Code Reviews| Index: chrome/browser/chromeos/syslogs/commandline_fetcher.h |
| diff --git a/chrome/browser/chromeos/syslogs/commandline_fetcher.h b/chrome/browser/chromeos/syslogs/commandline_fetcher.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d3abb205d333c39a69505c07b0f6c12bb546f23e |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/syslogs/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_SYSLOGS_COMMANDLINE_FETCHER_H_ |
| +#define CHROME_BROWSER_CHROMEOS_SYSLOGS_COMMANDLINE_FETCHER_H_ |
| + |
| +#include "chrome/browser/chromeos/syslogs/syslogs_fetcher.h" |
| + |
| +namespace chromeos { |
| + |
| +// It gathers logs data from various command line tools which we can not access |
| +// using Debug Daemon. |
| +class CommandLineFetcher : public SysLogsInterface { |
| + public: |
| + CommandLineFetcher() : response_(new SysLogsResponse) {} |
| + ~CommandLineFetcher() {} |
|
satorux1
2012/08/08 22:01:03
virtual
tudalex(Chromium)
2012/08/09 02:30:24
Done.
|
| + |
| + virtual void Fetch(const SysLogsFetcherCallback& request) OVERRIDE; |
|
satorux1
2012/08/08 22:01:03
add a comment line.
// SysLogsInterface override.
tudalex(Chromium)
2012/08/09 02:30:24
Done.
|
| + |
| + private: |
| + SysLogsResponse* response_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(CommandLineFetcher); |
| +}; |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_SYSLOGS_COMMANDLINE_FETCHER_H_ |