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

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

Issue 862813002: WIP: Prototype OOP V8 PAC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Slight cleanup and report JS memory usage. Created 5 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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/child_process_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/child_process_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698