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

Unified Diff: chrome/test/automation/proxy_launcher.cc

Issue 7719007: Add a gyp flag to enable dcheck by default in release without (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« chrome/common/logging_chrome.cc ('K') | « chrome/common/logging_chrome.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/proxy_launcher.cc
===================================================================
--- chrome/test/automation/proxy_launcher.cc (revision 97896)
+++ chrome/test/automation/proxy_launcher.cc (working copy)
@@ -80,8 +80,12 @@
switches::kFullMemoryCrashReport)),
dump_histograms_on_exit_(CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDumpHistogramsOnExit)),
+#if defined(DCHECK_ALWAYS_ON)
+ enable_dcheck_(true),
+#else
enable_dcheck_(CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableDCHECK)),
+#endif
silent_dump_on_dcheck_(CommandLine::ForCurrentProcess()->HasSwitch(
switches::kSilentDumpOnDCHECK)),
disable_breakpad_(CommandLine::ForCurrentProcess()->HasSwitch(
« chrome/common/logging_chrome.cc ('K') | « chrome/common/logging_chrome.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698