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

Unified Diff: content/browser/browser_child_process_host.h

Issue 8760011: Move the ProcessType enum out to its own file. This is in preparation for getting rid of ChildPro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 9 years, 1 month 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 | « chrome/test/automation/proxy_launcher.cc ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host.h
===================================================================
--- content/browser/browser_child_process_host.h (revision 112315)
+++ content/browser/browser_child_process_host.h (working copy)
@@ -14,6 +14,7 @@
#include "content/common/child_process_host.h"
#include "content/common/child_process_info.h"
#include "content/common/content_export.h"
+#include "content/public/common/process_type.h"
namespace base {
class WaitableEvent;
@@ -46,7 +47,7 @@
class CONTENT_EXPORT Iterator {
public:
Iterator();
- explicit Iterator(ChildProcessInfo::ProcessType type);
+ explicit Iterator(content::ProcessType type);
BrowserChildProcessHost* operator->() { return *iterator_; }
BrowserChildProcessHost* operator*() { return *iterator_; }
BrowserChildProcessHost* operator++();
@@ -54,12 +55,12 @@
private:
bool all_;
- ChildProcessInfo::ProcessType type_;
+ content::ProcessType type_;
std::list<BrowserChildProcessHost*>::iterator iterator_;
};
protected:
- explicit BrowserChildProcessHost(ChildProcessInfo::ProcessType type);
+ explicit BrowserChildProcessHost(content::ProcessType type);
// Derived classes call this to launch the child process asynchronously.
void Launch(
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698