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

Unified Diff: remoting/host/host_service_win.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/host_service_win.cc
diff --git a/remoting/host/host_service_win.cc b/remoting/host/host_service_win.cc
index e9614bae871b09987b99f0fc5fa2aa0cf2e8bc2e..6052ad53350e93f69ab2a35a27d00cced9686d14 100644
--- a/remoting/host/host_service_win.cc
+++ b/remoting/host/host_service_win.cc
@@ -412,7 +412,8 @@ LRESULT CALLBACK HostService::SessionChangeNotificationProc(HWND hwnd,
int main(int argc, char** argv) {
// 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