#include "chrome/browser/feedback/system_logs/scrubbed_system_logs_fetcher.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.h"
#include "chrome/browser/feedback/system_logs/log_sources/memory_details_log_source.h"
#include "content/public/browser/browser_thread.h"
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/system_logs/command_line_log_source.h"
#include "chrome/browser/chromeos/system_logs/dbus_log_source.h"
#include "chrome/browser/chromeos/system_logs/debug_daemon_log_source.h"
#include "chrome/browser/chromeos/system_logs/lsb_release_log_source.h"
#include "chrome/browser/chromeos/system_logs/network_event_log_source.h"
#include "chrome/browser/chromeos/system_logs/touch_log_source.h"
#endif
using content::BrowserThread;
namespace system_logs {
ScrubbedSystemLogsFetcher::ScrubbedSystemLogsFetcher() {
data_sources_.push_back(new ChromeInternalLogSource());
data_sources_.push_back(new MemoryDetailsLogSource());
#if defined(OS_CHROMEOS)
data_sources_.push_back(new CommandLineLogSource());
data_sources_.push_back(new DBusLogSource());
data_sources_.push_back(new LsbReleaseLogSource());
data_sources_.push_back(new NetworkEventLogSource());
data_sources_.push_back(new TouchLogSource());
const bool scrub_data = true;
data_sources_.push_back(new DebugDaemonLogSource(scrub_data));
#endif
num_pending_requests_ = data_sources_.size();
}
ScrubbedSystemLogsFetcher::~ScrubbedSystemLogsFetcher() {
}
}