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

Unified Diff: chromeos/dbus/fake_debug_daemon_client.cc

Issue 539273002: Added UI to enable debugging features on CrOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: chromeos/dbus/fake_debug_daemon_client.cc
diff --git a/chromeos/dbus/fake_debug_daemon_client.cc b/chromeos/dbus/fake_debug_daemon_client.cc
index a1d75f6275558f1ff88c0916101e6e0100652b9b..25deef11d0c60b30650acfc899b4f416c909e0a7 100644
--- a/chromeos/dbus/fake_debug_daemon_client.cc
+++ b/chromeos/dbus/fake_debug_daemon_client.cc
@@ -120,4 +120,17 @@ void FakeDebugDaemonClient::TestICMPWithOptions(
void FakeDebugDaemonClient::UploadCrashes() {
}
+void FakeDebugDaemonClient::EnableDebuggingFeatures(
+ const std::string& password,
+ const DebugDaemonClient::EnableDebuggingCallback& callback) {
+ base::MessageLoop::current()->PostTask(FROM_HERE,
+ base::Bind(callback, true));
+}
+
+void FakeDebugDaemonClient::RemoveRootfsVerification(
+ const DebugDaemonClient::EnableDebuggingCallback& callback) {
+ base::MessageLoop::current()->PostTask(FROM_HERE,
+ base::Bind(callback, true));
+}
+
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698