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

Unified Diff: chrome/test/base/chrome_test_launcher.cc

Issue 1517503004: win: Fix not setting crash keys in non-component build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't initialize in tests Created 5 years 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 | « chrome/common/child_process_logging_win.cc ('k') | components/crash/content/app/crashpad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/chrome_test_launcher.cc
diff --git a/chrome/test/base/chrome_test_launcher.cc b/chrome/test/base/chrome_test_launcher.cc
index 6e59b804c26cde8da2976833a8db98700ec3896f..986f3704d976080ebecbf92ccced77580f334cc6 100644
--- a/chrome/test/base/chrome_test_launcher.cc
+++ b/chrome/test/base/chrome_test_launcher.cc
@@ -122,14 +122,6 @@ int LaunchChromeTests(int default_jobs,
crash_reporter::SetCrashReporterClient(crash_client);
#endif
-#if defined(OS_WIN)
- base::CommandLine::Init(0, nullptr);
- std::string process_type =
- base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- switches::kProcessType);
- crash_reporter::InitializeCrashpad(process_type.empty(), process_type);
-#endif
-
ChromeTestLauncherDelegate launcher_delegate(runner);
return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);
}
« no previous file with comments | « chrome/common/child_process_logging_win.cc ('k') | components/crash/content/app/crashpad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698