Index: remoting/host/plugin/daemon_controller_mac.cc |
diff --git a/remoting/host/plugin/daemon_controller_mac.cc b/remoting/host/plugin/daemon_controller_mac.cc |
index 2edd16217532cf74f875ffa54b98672d2c4c1264..094aef470529ae081c5fe690d870cd698fcf86ff 100644 |
--- a/remoting/host/plugin/daemon_controller_mac.cc |
+++ b/remoting/host/plugin/daemon_controller_mac.cc |
@@ -23,6 +23,7 @@ |
#include "base/threading/thread.h" |
#include "base/time.h" |
#include "base/values.h" |
+#include "remoting/host/breakpad.h" |
#include "remoting/host/json_host_config.h" |
namespace remoting { |
@@ -70,6 +71,9 @@ class DaemonControllerMac : public remoting::DaemonController { |
virtual void Stop(const CompletionCallback& done_callback) OVERRIDE; |
virtual void SetWindow(void* window_handle) OVERRIDE; |
virtual void GetVersion(const GetVersionCallback& done_callback) OVERRIDE; |
+ virtual void GetUsageStatsConsent( |
+ const GetUsageStatsConsentCallback& callback) OVERRIDE; |
+ virtual void SetUsageStatsConsent(bool consent) OVERRIDE; |
private: |
void DoGetConfig(const GetConfigCallback& callback); |
@@ -180,6 +184,18 @@ void DaemonControllerMac::GetVersion(const GetVersionCallback& callback) { |
callback)); |
} |
+void DaemonControllerMac::GetUsageStatsConsent( |
+ const GetUsageStatsConsentCallback& callback) { |
+ // Crash dump collection is not implemented on Mac yet. |
+ // http://crbug.com/130678. |
+ callback.Run(false, false); |
+} |
+ |
+void DaemonControllerMac::SetUsageStatsConsent(bool consent) { |
+ // Crash dump collection is not implemented on Mac yet. |
+ // http://crbug.com/130678. |
+} |
+ |
void DaemonControllerMac::DoGetConfig(const GetConfigCallback& callback) { |
FilePath config_path(kHostConfigFile); |
JsonHostConfig host_config(config_path); |