Index: content/browser/zygote_host_linux.cc |
diff --git a/content/browser/zygote_host_linux.cc b/content/browser/zygote_host_linux.cc |
index 4a514362c0307b9a2ff4a1699a9e1ab1ddb9d5b7..171e3b84aba54db9af8ec8b803051615a1331f22 100644 |
--- a/content/browser/zygote_host_linux.cc |
+++ b/content/browser/zygote_host_linux.cc |
@@ -57,8 +57,7 @@ ZygoteHost::ZygoteHost() |
init_(false), |
using_suid_sandbox_(false), |
have_read_sandbox_status_word_(false), |
- sandbox_status_(0) { |
-} |
+ sandbox_status_(0) {} |
ZygoteHost::~ZygoteHost() { |
if (init_) |
@@ -216,13 +215,15 @@ ssize_t ZygoteHost::ReadReply(void* buf, size_t buf_len) { |
return HANDLE_EINTR(read(control_fd_, buf, buf_len)); |
} |
-pid_t ZygoteHost::ForkRenderer( |
+pid_t ZygoteHost::ForkRequest( |
const std::vector<std::string>& argv, |
- const base::GlobalDescriptors::Mapping& mapping) { |
+ const base::GlobalDescriptors::Mapping& mapping, |
+ const std::string& process_type) { |
DCHECK(init_); |
Pickle pickle; |
pickle.WriteInt(kCmdFork); |
+ pickle.WriteString(process_type); |
pickle.WriteInt(argv.size()); |
for (std::vector<std::string>::const_iterator |
i = argv.begin(); i != argv.end(); ++i) |