Index: chromeos/dbus/debug_daemon_client.h |
diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h |
index 36ef3b2201124c1b60547c9ab437f42baedfec1b..14a86e4f606237c3527bbb3510d16985ba9bff18 100644 |
--- a/chromeos/dbus/debug_daemon_client.h |
+++ b/chromeos/dbus/debug_daemon_client.h |
@@ -145,6 +145,21 @@ class CHROMEOS_EXPORT DebugDaemonClient : public DBusClient { |
const std::map<std::string, std::string>& options, |
const TestICMPCallback& callback) = 0; |
+ // Called once EnableDebuggingFeatures() is complete. |succeeded| will be true |
+ // if debugging features have been successfully enabled. |
+ typedef base::Callback<void(bool succeeded)> EnableDebuggingCallback; |
+ |
+ // Removes rootfs verification from the file system. Can be only called in |
+ // dev mode. |
+ virtual void RemoveRootfsVerification( |
+ const EnableDebuggingCallback& callback) = 0; |
+ |
+ // Enables debugging features (sshd, boot from USB). |password| is a new |
+ // password for root user. Can be only called in dev mode. |
+ virtual void EnableDebuggingFeatures( |
+ const std::string& password, |
+ const EnableDebuggingCallback& callback) = 0; |
+ |
// Trigger uploading of crashes. |
virtual void UploadCrashes() = 0; |