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

Unified Diff: content/zygote/zygote_linux.h

Issue 23123011: Zygote: small cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | content/zygote/zygote_linux.cc » ('j') | content/zygote/zygote_linux.cc » ('J')
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 327f917958a70ff5554dffa450a7b9f5559644ee..c39bfd026a9ead491323625482193476c15f81d9 100644
--- a/content/zygote/zygote_linux.h
+++ b/content/zygote/zygote_linux.h
@@ -44,6 +44,12 @@ class Zygote {
typedef base::SmallMap< std::map<base::ProcessHandle, ZygoteProcessInfo> >
ZygoteProcessMap;
+ // Retrieve a ZygoteProcessInfo from the process_info_map_.
+ // Returns true and write to process_info if |pid| can be found, return
+ // false otherwise.
+ bool GetProcessInfo(base::ProcessHandle pid,
+ ZygoteProcessInfo* process_info);
+
// Returns true if the SUID sandbox is active.
bool UsingSUIDSandbox() const;
« no previous file with comments | « no previous file | content/zygote/zygote_linux.cc » ('j') | content/zygote/zygote_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698