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

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

Issue 12662019: Split the ProcessType enum into process types that content knows about (which will remain in src\co… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
Index: content/public/browser/child_process_data.h
===================================================================
--- content/public/browser/child_process_data.h (revision 189692)
+++ content/public/browser/child_process_data.h (working copy)
@@ -8,14 +8,13 @@
#include "base/process.h"
#include "base/string16.h"
#include "content/common/content_export.h"
-#include "content/public/common/process_type.h"
namespace content {
// Holds information about a child process.
struct ChildProcessData {
// The type of the process.
- content::ProcessType type;
+ int process_type;
// The name of the process. i.e. for plugins it might be Flash, while for
// for workers it might be the domain that it's from.
@@ -29,8 +28,8 @@
// The handle to the process.
base::ProcessHandle handle;
- explicit ChildProcessData(content::ProcessType type)
- : type(type), id(0), handle(base::kNullProcessHandle) {
+ explicit ChildProcessData(int process_type)
+ : process_type(process_type), id(0), handle(base::kNullProcessHandle) {
}
};

Powered by Google App Engine
This is Rietveld 408576698