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

Unified Diff: chromeos/dbus/fake_debug_daemon_client.cc

Issue 2944403002: Add GetLog method call to DebugDaemonClient (Closed)
Patch Set: Use separate callback type with string parameter Created 3 years, 6 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 | « chromeos/dbus/fake_debug_daemon_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e5feb38f4a8e350e502efce240ac85cccf3fbba4..7423fa4530d0d520552ea978de8b475744a1a3a1 100644
--- a/chromeos/dbus/fake_debug_daemon_client.cc
+++ b/chromeos/dbus/fake_debug_daemon_client.cc
@@ -143,6 +143,13 @@ void FakeDebugDaemonClient::GetUserLogFiles(const GetLogsCallback& callback) {
FROM_HERE, base::Bind(callback, true, user_logs));
}
+void FakeDebugDaemonClient::GetLog(const std::string& log_name,
+ const GetLogCallback& callback) {
+ std::string result = log_name + ": response from GetLog";
+ base::ThreadTaskRunnerHandle::Get()->PostTask(
+ FROM_HERE, base::Bind(callback, true, result));
+}
+
void FakeDebugDaemonClient::TestICMP(const std::string& ip_address,
const TestICMPCallback& callback) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
« no previous file with comments | « chromeos/dbus/fake_debug_daemon_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698