Commit c2a44c48 authored by thestig@chromium.org's avatar thestig@chromium.org

Hook up Linux crash reporting setting to options dialog.

Review URL: http://codereview.chromium.org/115878

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17121 0039d316-1c4b-4281-b951-d872f2087c98
parent dd888ede
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "chrome/common/pref_member.h" #include "chrome/common/pref_member.h"
#include "chrome/common/pref_names.h" #include "chrome/common/pref_names.h"
#include "chrome/common/pref_service.h" #include "chrome/common/pref_service.h"
#include "chrome/installer/util/google_update_settings.h"
#ifdef CHROME_PERSONALIZATION #ifdef CHROME_PERSONALIZATION
#include "chrome/personalization/personalization.h" #include "chrome/personalization/personalization.h"
#endif #endif
...@@ -211,6 +212,7 @@ void OptionsWindowGtk::LoggingChanged(GtkWidget* metrics) { ...@@ -211,6 +212,7 @@ void OptionsWindowGtk::LoggingChanged(GtkWidget* metrics) {
TRUE); TRUE);
g_browser_process->local_state()->SetBoolean(prefs::kMetricsReportingEnabled, g_browser_process->local_state()->SetBoolean(prefs::kMetricsReportingEnabled,
logging); logging);
GoogleUpdateSettings::SetCollectStatsConsent(logging);
} }
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment