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

Unified Diff: chrome/nacl/nacl_main.cc

Issue 7547002: Reenable the --enable-nacl-debug switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « chrome/nacl/nacl_listener.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/nacl/nacl_main.cc
===================================================================
--- chrome/nacl/nacl_main.cc (revision 95033)
+++ chrome/nacl/nacl_main.cc (working copy)
@@ -119,7 +119,9 @@
bool sandbox_test_result = platform.RunSandboxTests();
if (sandbox_test_result) {
+ bool debug = parsed_command_line.HasSwitch(switches::kEnableNaClDebug);
NaClListener listener;
+ listener.set_debug_enabled(debug);
listener.Listen();
} else {
// This indirectly prevents the test-harness-success-cookie from being set,
« no previous file with comments | « chrome/nacl/nacl_listener.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698