| 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..af15a42e460859fe8181cb2f303f55724519f925
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/syslogs/commandline_fetcher.h
|
| @@ -0,0 +1,31 @@
|
| +// 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 SystemLogFetcherInterface {
|
| + public:
|
| + CommandLineFetcher() {}
|
| + virtual ~CommandLineFetcher() {}
|
| +
|
| + // SystemLogFetcherInterface override.
|
| + virtual void Fetch(const SysLogsFetcherCallback& request) OVERRIDE;
|
| +
|
| + private:
|
| + // Calls the programs and creates log entries with their output.
|
| + static void Execute(SystemLogsResponse* response);
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(CommandLineFetcher);
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_SYSLOGS_COMMANDLINE_FETCHER_H_
|
|
|