Index: chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc |
diff --git a/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc b/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc |
index 66fccc05b8dbcda44d38aeeff5fb666a31ecfcb8..2fe9dd4a358e8304ae2e542c45d8a3206a314708 100644 |
--- a/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc |
+++ b/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc |
@@ -15,10 +15,11 @@ |
namespace browser_sync { |
-static const double kErrorUploadRatio = 0.15; |
void ChromeReportUnrecoverableError() { |
// TODO(lipalani): Add this for other platforms as well. |
#if defined(OS_WIN) |
+ const double kErrorUploadRatio = 0.15; |
+ |
// We only want to upload |kErrorUploadRatio| ratio of errors. |
if (kErrorUploadRatio <= 0.0) |
return; // We are not allowed to upload errors. |