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

Unified Diff: chromeos/dbus/debug_daemon_client.h

Issue 11035014: Collect user logs that debugd can not access (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: get logfile names to collect from debugd Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/debug_daemon_client.h
diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h
index 81593544430e27183ebc9dc240e4b97f44be9272..073189cd797f25b0facab5fc6252c16a06172d34 100644
--- a/chromeos/dbus/debug_daemon_client.h
+++ b/chromeos/dbus/debug_daemon_client.h
@@ -75,11 +75,16 @@ class CHROMEOS_EXPORT DebugDaemonClient {
virtual void GetNetworkInterfaces(
const GetNetworkInterfacesCallback& callback) = 0;
- // Called once GetAllLogs() is complete.
+ // Callback type for GetAllLogs() or GetUserLogFiles().
typedef base::Callback<void(bool succeeded,
const std::map<std::string, std::string>& logs)>
- GetAllLogsCallback;
- virtual void GetAllLogs(const GetAllLogsCallback& callback) = 0;
+ GetLogsCallback;
+
+ // Gets all logs collected by debugd.
+ virtual void GetAllLogs(const GetLogsCallback& callback) = 0;
+
+ // Gets list of user log files that must be read by Chrome.
+ virtual void GetUserLogFiles(const GetLogsCallback& callback) = 0;
// Requests to start system/kernel tracing.
virtual void StartSystemTracing() = 0;

Powered by Google App Engine
This is Rietveld 408576698