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

Unified Diff: chromeos/dbus/debug_daemon_client.cc

Issue 11026008: Adding GetFeedbackLogs call to DebugDaemon Dbus client. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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/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/debug_daemon_client.cc
diff --git a/chromeos/dbus/debug_daemon_client.cc b/chromeos/dbus/debug_daemon_client.cc
index 23813a846ca69e890e0e2d484933f4fab260b68b..af94ae9e30c0aa5ecdfabbc313e5b773ae9ab1fc 100644
--- a/chromeos/dbus/debug_daemon_client.cc
+++ b/chromeos/dbus/debug_daemon_client.cc
@@ -258,6 +258,18 @@ class DebugDaemonClientImpl : public DebugDaemonClient {
callback));
}
+ virtual void GetFeedbackLogs(const GetAllLogsCallback& callback)
+ OVERRIDE {
+ dbus::MethodCall method_call(debugd::kDebugdInterface,
+ "GetFeedbackLogs");
+ debugdaemon_proxy_->CallMethod(
+ &method_call,
+ dbus::ObjectProxy::TIMEOUT_USE_DEFAULT,
+ base::Bind(&DebugDaemonClientImpl::OnGetAllLogs,
+ weak_ptr_factory_.GetWeakPtr(),
+ callback));
+ }
+
virtual void StartSystemTracing() OVERRIDE {
dbus::MethodCall method_call(
debugd::kDebugdInterface,
@@ -537,6 +549,10 @@ class DebugDaemonClientStubImpl : public DebugDaemonClient {
std::map<std::string, std::string> empty;
callback.Run(false, empty);
}
+ virtual void GetFeedbackLogs(const GetAllLogsCallback& callback) OVERRIDE {
rkc 2012/10/01 20:05:32 Need a whitespace between the end of the last meth
tudalex(Chromium) 2012/10/02 19:10:37 I've seen that they didn't have and I thought it w
+ std::map<std::string, std::string> empty;
+ callback.Run(false, empty);
+ }
virtual void TestICMP(const std::string& ip_address,
const TestICMPCallback& callback) OVERRIDE {
« no previous file with comments | « chromeos/dbus/debug_daemon_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698