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

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 2851653002: Make sanitizer signal handlers work again. (Closed)
Patch Set: Move commandline init to before SetupSignalHandlers(). Created 3 years, 8 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 | « content/app/content_main_runner.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host_impl.cc
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
index 4f19fb708f3d61905144f6d54041ab44747379e1..9cc89f8a6aa1838e28eae6588ea9f4a3cde5a2a7 100644
--- a/content/browser/browser_child_process_host_impl.cc
+++ b/content/browser/browser_child_process_host_impl.cc
@@ -49,6 +49,7 @@
#include "content/public/common/sandboxed_process_launcher_delegate.h"
#include "content/public/common/service_manager_connection.h"
#include "mojo/edk/embedder/embedder.h"
+#include "services/service_manager/embedder/switches.h"
#if defined(OS_MACOSX)
#include "content/browser/mach_broker_mac.h"
@@ -219,13 +220,14 @@ void BrowserChildProcessHostImpl::Launch(
const base::CommandLine& browser_command_line =
*base::CommandLine::ForCurrentProcess();
static const char* const kForwardSwitches[] = {
- switches::kDisableLogging,
- switches::kEnableLogging,
- switches::kIPCConnectionTimeout,
- switches::kLoggingLevel,
- switches::kTraceToConsole,
- switches::kV,
- switches::kVModule,
+ service_manager::switches::kDisableInProcessStackTraces,
+ switches::kDisableLogging,
+ switches::kEnableLogging,
+ switches::kIPCConnectionTimeout,
+ switches::kLoggingLevel,
+ switches::kTraceToConsole,
+ switches::kV,
+ switches::kVModule,
};
cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches,
arraysize(kForwardSwitches));
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698