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

Unified Diff: content/browser/zygote_host_linux.cc

Issue 8674003: Move the ProcessWatcher methods out of content/common/process_watcher into base/process_util, alo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
Index: content/browser/zygote_host_linux.cc
===================================================================
--- content/browser/zygote_host_linux.cc (revision 111236)
+++ content/browser/zygote_host_linux.cc (working copy)
@@ -26,7 +26,6 @@
#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "content/browser/renderer_host/render_sandbox_host_linux.h"
-#include "content/common/process_watcher.h"
#include "content/common/unix_domain_socket_posix.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_switches.h"
@@ -203,7 +202,7 @@
if (process != pid_) {
// Reap the sandbox.
- ProcessWatcher::EnsureProcessGetsReaped(process);
+ base::EnsureProcessGetsReaped(process);
}
} else {
// Not using the SUID sandbox.
@@ -379,7 +378,7 @@
base::ProcessHandle sandbox_helper_process;
if (base::LaunchProcess(adj_oom_score_cmdline, base::LaunchOptions(),
&sandbox_helper_process)) {
- ProcessWatcher::EnsureProcessGetsReaped(sandbox_helper_process);
+ base::EnsureProcessGetsReaped(sandbox_helper_process);
}
} else if (!using_suid_sandbox_) {
if (!base::AdjustOOMScore(pid, score))

Powered by Google App Engine
This is Rietveld 408576698