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

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: Sync. 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 cc91a9437985562a5454901c3ae2ef942be4a67b..637e2a3d2e64ce137f043c7f1a08143600c81230 100644
--- a/chromeos/dbus/debug_daemon_client.h
+++ b/chromeos/dbus/debug_daemon_client.h
@@ -31,6 +31,16 @@ class CHROMEOS_EXPORT DebugDaemonClient {
virtual void GetDebugLogs(base::PlatformFile file,
const GetDebugLogsCallback& callback) = 0;
+ // 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".
+ 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