diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 19:38:21 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 19:38:21 +0000 |
commit | d0e629845f2ce6886377c093b62cd42f7e7da23d (patch) | |
tree | 7f7423722a03ecd8296d60bd8ed218ed2d4397e3 /chrome/browser/zygote_host_linux.h | |
parent | dfcb62a173898e182e2f10ca635deb753977b9f8 (diff) | |
download | chromium_src-d0e629845f2ce6886377c093b62cd42f7e7da23d.zip chromium_src-d0e629845f2ce6886377c093b62cd42f7e7da23d.tar.gz chromium_src-d0e629845f2ce6886377c093b62cd42f7e7da23d.tar.bz2 |
Revert r18641: "Linux: Enable metrics_service_uitest.cc."
Broke ui_tests.
Review URL: http://codereview.chromium.org/125268
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/zygote_host_linux.h')
-rw-r--r-- | chrome/browser/zygote_host_linux.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/chrome/browser/zygote_host_linux.h b/chrome/browser/zygote_host_linux.h index 94ac92e..279918d 100644 --- a/chrome/browser/zygote_host_linux.h +++ b/chrome/browser/zygote_host_linux.h @@ -9,10 +9,7 @@ #include <vector> #include "base/global_descriptors_posix.h" -#include "base/process.h" - -template<typename Type> -struct DefaultSingletonTraits; +#include "base/singleton.h" // http://code.google.com/p/chromium/wiki/LinuxZygote @@ -26,17 +23,11 @@ class ZygoteHost { const base::GlobalDescriptors::Mapping& mapping); void EnsureProcessTerminated(pid_t process); - // Get the termination status (exit code) of the process and return true if - // the status indicates the process crashed. |child_exited| is set to true - // iff the child process has terminated. (|child_exited| may be NULL.) - bool DidProcessCrash(base::ProcessHandle handle, bool* child_exited); - // These are the command codes used on the wire between the browser and the // zygote. enum { - kCmdFork = 0, // Fork off a new renderer. - kCmdReap = 1, // Reap a renderer child. - kCmdDidProcessCrash = 2, // Check if child process crashed. + kCmdFork = 0, // Fork off a new renderer. + kCmdReap = 1, // Reap a renderer child. }; private: |