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

Unified Diff: content/zygote/zygote_linux.h

Issue 818833004: Remove deprecated methods from Pickle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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
« no previous file with comments | « content/public/common/common_param_traits.cc ('k') | content/zygote/zygote_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/zygote/zygote_linux.h
diff --git a/content/zygote/zygote_linux.h b/content/zygote/zygote_linux.h
index f93ea03556470eed2b958bba10181d9ce9e43ee0..41773fa474b94f1db97b862523ac809e2f5f256c 100644
--- a/content/zygote/zygote_linux.h
+++ b/content/zygote/zygote_linux.h
@@ -61,7 +61,7 @@ class Zygote {
// new process and thus need to unwind back into ChromeMain.
bool HandleRequestFromBrowser(int fd);
- void HandleReapRequest(int fd, const Pickle& pickle, PickleIterator iter);
+ void HandleReapRequest(int fd, PickleIterator iter);
// Get the termination status of |real_pid|. |real_pid| is the PID as it
// appears outside of the sandbox.
@@ -72,7 +72,6 @@ class Zygote {
int* exit_code);
void HandleGetTerminationStatus(int fd,
- const Pickle& pickle,
PickleIterator iter);
// This is equivalent to fork(), except that, when using the SUID sandbox, it
@@ -91,11 +90,10 @@ class Zygote {
int* uma_sample,
int* uma_boundary_value);
- // Unpacks process type and arguments from |pickle| and forks a new process.
+ // Unpacks process type and arguments from |iter| and forks a new process.
// Returns -1 on error, otherwise returns twice, returning 0 to the child
// process and the child process ID to the parent process, like fork().
- base::ProcessId ReadArgsAndFork(const Pickle& pickle,
- PickleIterator iter,
+ base::ProcessId ReadArgsAndFork(PickleIterator iter,
ScopedVector<base::ScopedFD> fds,
std::string* uma_name,
int* uma_sample,
@@ -106,12 +104,10 @@ class Zygote {
// otherwise writes the child_pid back to the browser via |fd|. Writes a
// child_pid of -1 on error.
bool HandleForkRequest(int fd,
- const Pickle& pickle,
PickleIterator iter,
ScopedVector<base::ScopedFD> fds);
bool HandleGetSandboxStatus(int fd,
- const Pickle& pickle,
PickleIterator iter);
// The Zygote needs to keep some information about each process. Most
« no previous file with comments | « content/public/common/common_param_traits.cc ('k') | content/zygote/zygote_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698