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

Unified Diff: remoting/host/plugin/daemon_controller_linux.cc

Issue 10537182: The user's consent to crash dumps reporting can now be set via the UI (Windows only). The checkbox … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: remoting/host/plugin/daemon_controller_linux.cc
diff --git a/remoting/host/plugin/daemon_controller_linux.cc b/remoting/host/plugin/daemon_controller_linux.cc
index 7ed94400f3939aad320579756b881acc58ef6677..4c19a785e9a0f7e2da09716af0ce5a5b29fbf8ae 100644
--- a/remoting/host/plugin/daemon_controller_linux.cc
+++ b/remoting/host/plugin/daemon_controller_linux.cc
@@ -23,6 +23,7 @@
#include "base/threading/thread.h"
#include "base/values.h"
#include "net/base/net_util.h"
+#include "remoting/host/breakpad.h"
#include "remoting/host/host_config.h"
#include "remoting/host/json_host_config.h"
@@ -65,6 +66,9 @@ class DaemonControllerLinux : 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:
FilePath GetConfigPath();
@@ -159,6 +163,18 @@ void DaemonControllerLinux::GetConfig(const GetConfigCallback& callback) {
&DaemonControllerLinux::DoGetConfig, base::Unretained(this), callback));
}
+void DaemonControllerLinux::GetUsageStatsConsent(
+ const GetUsageStatsConsentCallback& callback) {
+ // Crash dump collection is not implemented on Linux yet.
+ // http://crbug.com/130678.
+ callback.Run(false, false);
+}
+
+void DaemonControllerLinux::SetUsageStatsConsent(bool consent) {
+ // Crash dump collection is not implemented on Linux yet.
+ // http://crbug.com/130678.
+}
+
void DaemonControllerLinux::SetConfigAndStart(
scoped_ptr<base::DictionaryValue> config,
const CompletionCallback& done_callback) {

Powered by Google App Engine
This is Rietveld 408576698