summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/debug_daemon_client.h
diff options
context:
space:
mode:
authorgauravsh@chromium.org <gauravsh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-05 23:07:05 +0000
committergauravsh@chromium.org <gauravsh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-05 23:07:05 +0000
commite45fb1adac21011c19c462f4e61e6bb8a3429aca (patch)
treea8325b4cb2aa4c5ab8eda2f60c91e1545c4b1d54 /chromeos/dbus/debug_daemon_client.h
parent9fa87eda479a80faffe61d75135bd6d6036440a6 (diff)
downloadchromium_src-e45fb1adac21011c19c462f4e61e6bb8a3429aca.zip
chromium_src-e45fb1adac21011c19c462f4e61e6bb8a3429aca.tar.gz
chromium_src-e45fb1adac21011c19c462f4e61e6bb8a3429aca.tar.bz2
Collect user logs that debugd can not access
Debugd can't access anything inside a user's cryptohome. So, get a list of user logs files to collect from debugd, and then read them. BUG=chromium-os:34817 TEST=Navigate to chrome://system and verify chrome_user_log, login-times and logout-times now show up. Review URL: https://chromiumcodereview.appspot.com/11035014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/debug_daemon_client.h')
-rw-r--r--chromeos/dbus/debug_daemon_client.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h
index 8159354..073189c 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;