Index: chromeos/dbus/debug_daemon_client.h |
diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h |
index 2cc7fc230ff08337217a7f1e8e5e57072a4b095b..07e52ba0b7b3ba6b031f1034da7c759dc34b90ec 100644 |
--- a/chromeos/dbus/debug_daemon_client.h |
+++ b/chromeos/dbus/debug_daemon_client.h |
@@ -43,22 +43,39 @@ class CHROMEOS_EXPORT DebugDaemonClient { |
virtual void SetDebugMode(const std::string& subsystem, |
const SetDebugModeCallback& callback) = 0; |
+ // Called once GetRoutes() is complete. |
typedef base::Callback<void(bool succeeded, |
const std::vector<std::string>& routes)> |
GetRoutesCallback; |
virtual void GetRoutes(bool numeric, bool ipv6, |
const GetRoutesCallback& callback) = 0; |
+ // Called once GetNetworkStatus() is complete. |
typedef base::Callback<void(bool succeeded, const std::string& status)> |
GetNetworkStatusCallback; |
+ // Gets information about network status as json. |
virtual void GetNetworkStatus(const GetNetworkStatusCallback& callback) = 0; |
+ // Called once GetModemStatus() is complete. |
typedef base::Callback<void(bool succeeded, const std::string& status)> |
GetModemStatusCallback; |
+ // Gets information about modem status as json. |
virtual void GetModemStatus(const GetModemStatusCallback& callback) = 0; |
+ // Called once GetNetworkInterfaces() is complete. Takes two parameters: |
+ // - succeeded: information was obtained successfully. |
+ // - status: network interfaces information in json. For details, please refer |
+ // to http://gerrit.chromium.org/gerrit/#/c/28045/5/src/helpers/netif.cc |
+ typedef base::Callback<void(bool succeeded, const std::string& status)> |
+ GetNetworkInterfacesCallback; |
+ |
+ // Gets information about network interfaces as json. |
+ virtual void GetNetworkInterfaces( |
+ const GetNetworkInterfacesCallback& callback) = 0; |
+ |
+ // Called once GetAllLogs() is complete. |
typedef base::Callback<void(bool succeeded, |
const std::map<std::string, std::string>& logs)> |
GetAllLogsCallback; |