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

Unified Diff: crash_reporter.cc

Issue 3436029: crash-reporter: Send OS version at time of crash and related improvements (Closed) Base URL: http://git.chromium.org/git/crash-reporter.git
Patch Set: respond to petkov review Created 10 years, 3 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
« no previous file with comments | « crash_collector_test.cc ('k') | crash_sender » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crash_reporter.cc
diff --git a/crash_reporter.cc b/crash_reporter.cc
index b57bfc40bffca3fda79a53104326b4e539360709..d8583869804278bd492e82a63171bd024d3054e5 100644
--- a/crash_reporter.cc
+++ b/crash_reporter.cc
@@ -43,9 +43,7 @@ static MetricsLibrary s_metrics_lib;
static SystemLoggingImpl s_system_log;
static bool IsFeedbackAllowed() {
- // Once crosbug.com/5814 is fixed, call the is opted in function
- // here.
- return true;
+ return s_metrics_lib.AreMetricsEnabled();
}
static bool TouchFile(const FilePath &file_path) {
« no previous file with comments | « crash_collector_test.cc ('k') | crash_sender » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698