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

Unified Diff: content/public/browser/browser_child_process_host.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/browser_child_process_host.h
===================================================================
--- content/public/browser/browser_child_process_host.h (revision 189692)
+++ content/public/browser/browser_child_process_host.h (working copy)
@@ -30,8 +30,10 @@
class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender {
public:
// Used to create a child process host. The delegate must outlive this object.
+ // |process_type| needs to be either an enum value from ProcessType or an
+ // embedder-defined value.
static BrowserChildProcessHost* Create(
- ProcessType type,
+ int process_type,
BrowserChildProcessHostDelegate* delegate);
virtual ~BrowserChildProcessHost() {}

Powered by Google App Engine
This is Rietveld 408576698