Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Side by Side Diff: chrome/browser/chromeos/system_logs/about_system_logs_fetcher.cc

Issue 22532012: Use scrubbed logs for sending with feedback reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 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 #include "chrome/browser/chromeos/system_logs/about_system_logs_fetcher.h"
6
7 #include "base/bind.h"
8 #include "base/bind_helpers.h"
9 #include "chrome/browser/chromeos/system_logs/chrome_internal_log_source.h"
10 #include "chrome/browser/chromeos/system_logs/command_line_log_source.h"
11 #include "chrome/browser/chromeos/system_logs/dbus_log_source.h"
12 #include "chrome/browser/chromeos/system_logs/debug_daemon_log_source.h"
13 #include "chrome/browser/chromeos/system_logs/lsb_release_log_source.h"
14 #include "chrome/browser/chromeos/system_logs/memory_details_log_source.h"
15 #include "chrome/browser/chromeos/system_logs/network_event_log_source.h"
16 #include "chrome/browser/chromeos/system_logs/touch_log_source.h"
17 #include "content/public/browser/browser_thread.h"
18
19 using content::BrowserThread;
20
21 namespace chromeos {
22
23 AboutSystemLogsFetcher::AboutSystemLogsFetcher() {
24 // Debug Daemon data source.
25 const bool scrub_data = false;
26 data_sources_.push_back(new DebugDaemonLogSource(scrub_data));
27
28 // Chrome data sources.
29 data_sources_.push_back(new ChromeInternalLogSource());
30 data_sources_.push_back(new CommandLineLogSource());
31 data_sources_.push_back(new DBusLogSource());
32 data_sources_.push_back(new LsbReleaseLogSource());
33 data_sources_.push_back(new MemoryDetailsLogSource());
34 data_sources_.push_back(new NetworkEventLogSource());
35 data_sources_.push_back(new TouchLogSource());
36
37 num_pending_requests_ = data_sources_.size();
38 }
39
40 AboutSystemLogsFetcher::~AboutSystemLogsFetcher() {
41 }
42
43 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698