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..10ec9fc98c65d08bfedfd524c118b0749992023b 100644 |
| --- a/chromeos/dbus/debug_daemon_client.h |
| +++ b/chromeos/dbus/debug_daemon_client.h |
| @@ -21,6 +21,15 @@ 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. |
|
satorux1
2012/04/10 20:23:12
how does "subsystem" look like? would be nice to h
ygorshenin1
2012/04/11 09:04:39
Done.
|
| + virtual void SetDebugMode(const std::string& subsystem, |
| + const SetDebugModeCallback& callback) = 0; |
| + |
| // Requests to start system/kernel tracing. |
| virtual void StartSystemTracing() = 0; |