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

Side by Side 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, 1 month 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698