Index: content/public/browser/child_process_data.h |
diff --git a/content/public/browser/child_process_data.h b/content/public/browser/child_process_data.h |
index 395c4876b8d736e4de46b11a71970bac95a2e818..45313bd00172846caa9f7a8c95036984aa5dcfbd 100644 |
--- a/content/public/browser/child_process_data.h |
+++ b/content/public/browser/child_process_data.h |
@@ -5,14 +5,16 @@ |
#ifndef CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_DATA_H_ |
#define CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_DATA_H_ |
+#include "base/memory/ref_counted.h" |
#include "base/process/process.h" |
#include "base/strings/string16.h" |
#include "content/common/content_export.h" |
+#include "content/public/browser/process_resource.h" |
namespace content { |
// Holds information about a child process. |
-struct ChildProcessData { |
+struct CONTENT_EXPORT ChildProcessData { |
// The type of the process. |
int process_type; |
@@ -30,9 +32,11 @@ struct ChildProcessData { |
// current process. |
base::ProcessHandle handle; |
- explicit ChildProcessData(int process_type) |
- : process_type(process_type), id(0), handle(base::kNullProcessHandle) { |
- } |
+ // |
+ scoped_refptr<ProcessResource> process_resource; |
+ |
+ explicit ChildProcessData(int process_type); |
+ ~ChildProcessData(); |
}; |
} // namespace content |