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

Unified Diff: content/browser/zygote_host_linux.cc

Issue 7046114: Remove content dependency on chrome/browser/accessibility/browser_accessibility_state.h and chrom... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/browser/worker_host/worker_service.cc ('k') | content/browser/zygote_main_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/zygote_host_linux.cc
===================================================================
--- content/browser/zygote_host_linux.cc (revision 88904)
+++ content/browser/zygote_host_linux.cc (working copy)
@@ -9,6 +9,7 @@
#include <sys/types.h>
#include <unistd.h>
+#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/eintr_wrapper.h"
#include "base/environment.h"
@@ -22,8 +23,9 @@
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "chrome/common/chrome_constants.h"
-#include "chrome/common/chrome_switches.h"
+#include "content/browser/content_browser_client.h"
#include "content/browser/renderer_host/render_sandbox_host_linux.h"
+#include "content/common/content_switches.h"
#include "content/common/process_watcher.h"
#include "content/common/result_codes.h"
#include "content/common/unix_domain_socket_posix.h"
@@ -104,14 +106,8 @@
switches::kAllowSandboxDebugging,
switches::kLoggingLevel,
switches::kEnableLogging, // Support, e.g., --enable-logging=stderr.
- switches::kEnableRemoting,
switches::kV,
switches::kVModule,
- switches::kUserDataDir, // Make logs go to the right file.
- // Load (in-process) Pepper plugins in-process in the zygote pre-sandbox.
- switches::kPpapiFlashInProcess,
- switches::kPpapiFlashPath,
- switches::kPpapiFlashVersion,
switches::kRegisterPepperPlugins,
switches::kDisableSeccompSandbox,
switches::kEnableSeccompSandbox,
@@ -119,6 +115,9 @@
cmd_line.CopySwitchesFrom(browser_command_line, kForwardSwitches,
arraysize(kForwardSwitches));
+ content::GetContentClient()->browser()->AppendExtraCommandLineSwitches(
+ &cmd_line, -1);
+
sandbox_binary_ = sandbox_cmd.c_str();
struct stat st;
« no previous file with comments | « content/browser/worker_host/worker_service.cc ('k') | content/browser/zygote_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698