| Index: chromeos/dbus/debug_daemon_client.cc
|
| diff --git a/chromeos/dbus/debug_daemon_client.cc b/chromeos/dbus/debug_daemon_client.cc
|
| index 3d719f2f93eae9fc4b42daa05e3170337fd73244..db961a4f260e63afb00836552eb229b84f621759 100644
|
| --- a/chromeos/dbus/debug_daemon_client.cc
|
| +++ b/chromeos/dbus/debug_daemon_client.cc
|
| @@ -256,6 +256,18 @@ class DebugDaemonClientImpl : public DebugDaemonClient {
|
| callback));
|
| }
|
|
|
| + virtual void GetFeedbackLogs(const GetLogsCallback& callback)
|
| + OVERRIDE {
|
| + dbus::MethodCall method_call(debugd::kDebugdInterface,
|
| + debugd::kGetFeedbackLogs);
|
| + debugdaemon_proxy_->CallMethod(
|
| + &method_call,
|
| + dbus::ObjectProxy::TIMEOUT_USE_DEFAULT,
|
| + base::Bind(&DebugDaemonClientImpl::OnGetAllLogs,
|
| + weak_ptr_factory_.GetWeakPtr(),
|
| + callback));
|
| + }
|
| +
|
| virtual void GetUserLogFiles(
|
| const GetLogsCallback& callback) OVERRIDE {
|
| dbus::MethodCall method_call(debugd::kDebugdInterface,
|
| @@ -523,43 +535,57 @@ class DebugDaemonClientStubImpl : public DebugDaemonClient {
|
| const GetDebugLogsCallback& callback) OVERRIDE {
|
| callback.Run(false);
|
| }
|
| +
|
| virtual void SetDebugMode(const std::string& subsystem,
|
| const SetDebugModeCallback& callback) OVERRIDE {
|
| callback.Run(false);
|
| }
|
| +
|
| virtual void StartSystemTracing() OVERRIDE {}
|
| +
|
| virtual bool RequestStopSystemTracing(const StopSystemTracingCallback&
|
| callback) OVERRIDE {
|
| std::string no_data;
|
| callback.Run(base::RefCountedString::TakeString(&no_data));
|
| return true;
|
| }
|
| +
|
| virtual void GetRoutes(bool numeric, bool ipv6,
|
| const GetRoutesCallback& callback) OVERRIDE {
|
| std::vector<std::string> empty;
|
| callback.Run(false, empty);
|
| }
|
| +
|
| virtual void GetNetworkStatus(const GetNetworkStatusCallback& callback)
|
| OVERRIDE {
|
| callback.Run(false, "");
|
| }
|
| +
|
| virtual void GetModemStatus(const GetModemStatusCallback& callback)
|
| OVERRIDE {
|
| callback.Run(false, "");
|
| }
|
| +
|
| virtual void GetNetworkInterfaces(
|
| const GetNetworkInterfacesCallback& callback) OVERRIDE {
|
| callback.Run(false, "");
|
| }
|
| +
|
| virtual void GetAllLogs(const GetLogsCallback& callback) OVERRIDE {
|
| std::map<std::string, std::string> empty;
|
| callback.Run(false, empty);
|
| }
|
| +
|
| virtual void GetUserLogFiles(const GetLogsCallback& callback) OVERRIDE {
|
| std::map<std::string, std::string> empty;
|
| callback.Run(false, empty);
|
| }
|
|
|
| + virtual void GetFeedbackLogs(const GetLogsCallback& callback) OVERRIDE {
|
| + std::map<std::string, std::string> empty;
|
| + callback.Run(false, empty);
|
| + }
|
| +
|
| virtual void TestICMP(const std::string& ip_address,
|
| const TestICMPCallback& callback) OVERRIDE {
|
| callback.Run(false, "");
|
|
|