Home | History | Annotate | Download | only in system_logs
      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 
      5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_
      6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_
      7 
      8 #include "chrome/browser/feedback/system_logs/system_logs_fetcher_base.h"
      9 
     10 namespace system_logs {
     11 
     12 // This classs gathers logs data from various command line tools which we can
     13 // not access using Debug Daemon.
     14 class CommandLineLogSource : public SystemLogsSource {
     15  public:
     16   CommandLineLogSource() {}
     17   virtual ~CommandLineLogSource() {}
     18 
     19   // SystemLogsSource override.
     20   virtual void Fetch(const SysLogsSourceCallback& callback) OVERRIDE;
     21 
     22  private:
     23   DISALLOW_COPY_AND_ASSIGN(CommandLineLogSource);
     24 };
     25 
     26 }  // namespace system_logs
     27 
     28 #endif  // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_COMMAND_LINE_LOG_SOURCE_H_
     29