Index: chrome/app/main_dll_loader_win.cc |
diff --git a/chrome/app/main_dll_loader_win.cc b/chrome/app/main_dll_loader_win.cc |
index 8d8f978bd3f3702f464d8a5c1e0ed34cd66ee6a8..834154011cd2b5639d787d57d36f58dcc339b129 100644 |
--- a/chrome/app/main_dll_loader_win.cc |
+++ b/chrome/app/main_dll_loader_win.cc |
@@ -223,13 +223,7 @@ void ChromeDllLoader::OnBeforeLaunch(const std::string& process_type, |
RecordDidRun(dll_path); |
// Launch the watcher process if stats collection consent has been granted. |
-#if defined(GOOGLE_CHROME_BUILD) |
- const bool stats_collection_consent = |
- GoogleUpdateSettings::GetCollectStatsConsent(); |
-#else |
- const bool stats_collection_consent = false; |
-#endif |
- if (stats_collection_consent) { |
+ if (crash_reporter::GetUploadsEnabled()) { |
base::FilePath exe_path; |
if (PathService::Get(base::FILE_EXE, &exe_path)) { |
chrome_watcher_client_.reset(new ChromeWatcherClient( |