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

Side by Side Diff: content/browser/zygote_host/zygote_host_impl_linux.cc

Issue 10806076: Move ZygoteHost implementation to content/browser/zygote_host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add an empty line to the OWNERS file Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/zygote_host_impl_linux.h" 5 #include "content/browser/zygote_host/zygote_host_impl_linux.h"
6 6
7 #include <sys/socket.h> 7 #include <sys/socket.h>
8 #include <sys/stat.h> 8 #include <sys/stat.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <unistd.h> 10 #include <unistd.h>
11 11
12 #include "base/base_switches.h" 12 #include "base/base_switches.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/eintr_wrapper.h" 14 #include "base/eintr_wrapper.h"
15 #include "base/environment.h" 15 #include "base/environment.h"
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 471
472 pid_t ZygoteHostImpl::GetSandboxHelperPid() const { 472 pid_t ZygoteHostImpl::GetSandboxHelperPid() const {
473 return RenderSandboxHostLinux::GetInstance()->pid(); 473 return RenderSandboxHostLinux::GetInstance()->pid();
474 } 474 }
475 475
476 int ZygoteHostImpl::GetSandboxStatus() const { 476 int ZygoteHostImpl::GetSandboxStatus() const {
477 if (have_read_sandbox_status_word_) 477 if (have_read_sandbox_status_word_)
478 return sandbox_status_; 478 return sandbox_status_;
479 return 0; 479 return 0;
480 } 480 }
OLDNEW
« no previous file with comments | « content/browser/zygote_host/zygote_host_impl_linux.h ('k') | content/browser/zygote_host_impl_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698