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

Unified Diff: remoting/host/remoting_me2me_host.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/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index bb87fb557a53e0a96a2bb92fca442f6a29e8743b..e5be9d309bbd87c66ae859381413085369104a8e 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -565,7 +565,8 @@ int CALLBACK WinMain(HINSTANCE instance,
LPSTR command_line,
int show_command) {
// Initializes the crash dump reports.
- if (remoting::IsCrashReportingEnabled()) {
+ bool allowed;
+ if (remoting::GetUsageStatsConsent(NULL, &allowed) && allowed) {
remoting::InitializeCrashReporting();
}

Powered by Google App Engine
This is Rietveld 408576698