| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromeos/dbus/fake_debug_daemon_client.h" | 5 #include "chromeos/dbus/fake_debug_daemon_client.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 const std::string& ip_address, | 113 const std::string& ip_address, |
| 114 const std::map<std::string, std::string>& options, | 114 const std::map<std::string, std::string>& options, |
| 115 const TestICMPCallback& callback) { | 115 const TestICMPCallback& callback) { |
| 116 base::MessageLoop::current()->PostTask(FROM_HERE, | 116 base::MessageLoop::current()->PostTask(FROM_HERE, |
| 117 base::Bind(callback, false, "")); | 117 base::Bind(callback, false, "")); |
| 118 } | 118 } |
| 119 | 119 |
| 120 void FakeDebugDaemonClient::UploadCrashes() { | 120 void FakeDebugDaemonClient::UploadCrashes() { |
| 121 } | 121 } |
| 122 | 122 |
| 123 void FakeDebugDaemonClient::EnableDebuggingFeatures( |
| 124 const std::string& password, |
| 125 const DebugDaemonClient::EnableDebuggingCallback& callback) { |
| 126 base::MessageLoop::current()->PostTask(FROM_HERE, |
| 127 base::Bind(callback, true)); |
| 128 } |
| 129 |
| 130 void FakeDebugDaemonClient::RemoveRootfsVerification( |
| 131 const DebugDaemonClient::EnableDebuggingCallback& callback) { |
| 132 base::MessageLoop::current()->PostTask(FROM_HERE, |
| 133 base::Bind(callback, true)); |
| 134 } |
| 135 |
| 123 } // namespace chromeos | 136 } // namespace chromeos |
| OLD | NEW |