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; |