Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: chromeos/dbus/debug_daemon_client.h

Issue 10024056: Added functionality to chrome://net-internals/#chromeos page that user (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/net_internals/net_internals_ui.cc ('k') | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/ui/webui/net_internals/net_internals_ui.cc ('k') | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698