diff options
author | ellyjones@chromium.org <ellyjones@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-26 16:30:10 +0000 |
---|---|---|
committer | ellyjones@chromium.org <ellyjones@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-26 16:30:10 +0000 |
commit | c55c65e8ba2f7790fd69a41d2c22bf121d3905a7 (patch) | |
tree | 32c3a7f67a5951adf9b0599514bf15f6ef6278f6 /chromeos/dbus/debug_daemon_client.h | |
parent | 9904be1d3660eee7a6c45970fce3308fe589d153 (diff) | |
download | chromium_src-c55c65e8ba2f7790fd69a41d2c22bf121d3905a7.zip chromium_src-c55c65e8ba2f7790fd69a41d2c22bf121d3905a7.tar.gz chromium_src-c55c65e8ba2f7790fd69a41d2c22bf121d3905a7.tar.bz2 |
Use debugd to fetch chrome://system data.
Currently fetched data is prefixed with "debugd-" to avoid having the same debug keys appear twice; this will be cleaned up shortly.
BUG=chromium-os:30740
TEST=trybot
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Review URL: https://chromiumcodereview.appspot.com/10546061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144185 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/debug_daemon_client.h')
-rw-r--r-- | chromeos/dbus/debug_daemon_client.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h index 637e2a3..2cc7fc2 100644 --- a/chromeos/dbus/debug_daemon_client.h +++ b/chromeos/dbus/debug_daemon_client.h @@ -11,6 +11,8 @@ #include "chromeos/chromeos_export.h" #include "chromeos/dbus/dbus_client_implementation_type.h" +#include <map> + namespace dbus { class Bus; } // namespace dbus @@ -41,6 +43,27 @@ class CHROMEOS_EXPORT DebugDaemonClient { virtual void SetDebugMode(const std::string& subsystem, const SetDebugModeCallback& callback) = 0; + typedef base::Callback<void(bool succeeded, + const std::vector<std::string>& routes)> + GetRoutesCallback; + virtual void GetRoutes(bool numeric, bool ipv6, + const GetRoutesCallback& callback) = 0; + + typedef base::Callback<void(bool succeeded, const std::string& status)> + GetNetworkStatusCallback; + + virtual void GetNetworkStatus(const GetNetworkStatusCallback& callback) = 0; + + typedef base::Callback<void(bool succeeded, const std::string& status)> + GetModemStatusCallback; + + virtual void GetModemStatus(const GetModemStatusCallback& callback) = 0; + + typedef base::Callback<void(bool succeeded, + const std::map<std::string, std::string>& logs)> + GetAllLogsCallback; + virtual void GetAllLogs(const GetAllLogsCallback& callback) = 0; + // Requests to start system/kernel tracing. virtual void StartSystemTracing() = 0; |