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

Unified Diff: content/public/browser/zygote_host_linux.h

Issue 1640123005: Revert of Have each SandboxedProcessLauncherDelegate maintain a zygote. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: content/public/browser/zygote_host_linux.h
diff --git a/content/public/browser/zygote_host_linux.h b/content/public/browser/zygote_host_linux.h
index e12f8db2483a904bbf88780e8f54935baf77a5b9..ebe5ee7387fb67dc3e7be5349eb009d9e3a1787b 100644
--- a/content/public/browser/zygote_host_linux.h
+++ b/content/public/browser/zygote_host_linux.h
@@ -14,7 +14,7 @@
// http://code.google.com/p/chromium/wiki/LinuxZygote
-// The zygote host is an interface, in the browser process, to the zygote
+// The zygote host is the interface, in the browser process, to the zygote
// process.
class ZygoteHost {
public:
@@ -24,11 +24,11 @@
virtual ~ZygoteHost() {}
// Returns the pid of the Zygote process.
- virtual bool IsZygotePid(pid_t pid) = 0;
+ virtual pid_t GetPid() const = 0;
// Returns an int which is a bitmask of kSandboxLinux* values. Only valid
// after the first render has been forked.
- virtual int GetRendererSandboxStatus() const = 0;
+ virtual int GetSandboxStatus() const = 0;
// Adjust the OOM score of the given renderer's PID. The allowed
// range for the score is [0, 1000], where higher values are more
« no previous file with comments | « content/public/browser/zygote_handle_linux.h ('k') | content/public/common/sandboxed_process_launcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698