Chromium Code Reviews| Index: chromeos/dbus/debug_daemon_client.h |
| diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h |
| index 38e401561398347e5f7b3d5c753fbadaf4fd5e6e..3d22b4505fc3ffad315eed12b181fbda645181ce 100644 |
| --- a/chromeos/dbus/debug_daemon_client.h |
| +++ b/chromeos/dbus/debug_daemon_client.h |
| @@ -21,6 +21,16 @@ class CHROMEOS_EXPORT DebugDaemonClient { |
| public: |
| virtual ~DebugDaemonClient(); |
| + // Called once SetDebugMode() is complete. Takes one parameter: |
| + // - succeeded: debug mode was changed successfully. |
| + typedef base::Callback<void(bool succeeded)> SetDebugModeCallback; |
| + |
| + // Requests to change debug mode to given |subsystem| and calls |
| + // |callback| when completed. |subsystem| should be one of the |
| + // following: "wifi", "ethernet", "cellular" or "none". |
|
satorux1
2012/04/12 17:34:56
thank you for adding!
|
| + virtual void SetDebugMode(const std::string& subsystem, |
| + const SetDebugModeCallback& callback) = 0; |
| + |
| // Requests to start system/kernel tracing. |
| virtual void StartSystemTracing() = 0; |