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

Unified Diff: content/public/browser/browser_child_process_host_iterator.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_iterator.h
===================================================================
--- content/public/browser/browser_child_process_host_iterator.h (revision 189692)
+++ content/public/browser/browser_child_process_host_iterator.h (working copy)
@@ -8,7 +8,6 @@
#include <list>
#include "content/common/content_export.h"
-#include "content/public/common/process_type.h"
namespace IPC {
class Message;
@@ -26,7 +25,7 @@
class CONTENT_EXPORT BrowserChildProcessHostIterator {
public:
BrowserChildProcessHostIterator();
- explicit BrowserChildProcessHostIterator(content::ProcessType type);
+ explicit BrowserChildProcessHostIterator(int type);
// These methods work on the current iterator object. Only call them if
// Done() returns false.
@@ -38,7 +37,7 @@
private:
bool all_;
- content::ProcessType type_;
+ int process_type_;
std::list<BrowserChildProcessHostImpl*>::iterator iterator_;
};
@@ -50,8 +49,8 @@
class CONTENT_EXPORT BrowserChildProcessHostTypeIterator
: public BrowserChildProcessHostIterator {
public:
- explicit BrowserChildProcessHostTypeIterator(content::ProcessType type)
- : BrowserChildProcessHostIterator(type) {}
+ explicit BrowserChildProcessHostTypeIterator(int process_type)
+ : BrowserChildProcessHostIterator(process_type) {}
T* operator->() {
return static_cast<T*>(GetDelegate());
}

Powered by Google App Engine
This is Rietveld 408576698