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

Unified Diff: content/browser/renderer_host/resource_message_filter.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
Index: content/browser/renderer_host/resource_message_filter.h
===================================================================
--- content/browser/renderer_host/resource_message_filter.h (revision 112315)
+++ content/browser/renderer_host/resource_message_filter.h (working copy)
@@ -8,7 +8,7 @@
#include "base/memory/scoped_ptr.h"
#include "content/browser/browser_message_filter.h"
#include "content/common/content_export.h"
-#include "content/common/child_process_info.h"
+#include "content/public/common/process_type.h"
#include "webkit/glue/resource_type.h"
class ResourceDispatcherHost;
@@ -42,7 +42,7 @@
};
ResourceMessageFilter(int child_id,
- ChildProcessInfo::ProcessType process_type,
+ content::ProcessType process_type,
const content::ResourceContext* resource_context,
URLRequestContextSelector* url_request_context_selector,
ResourceDispatcherHost* resource_dispatcher_host);
@@ -61,7 +61,7 @@
ResourceType::Type request_type);
int child_id() const { return child_id_; }
- ChildProcessInfo::ProcessType process_type() const { return process_type_; }
+ content::ProcessType process_type() const { return process_type_; }
protected:
// Protected destructor so that we can be overriden in tests.
@@ -71,7 +71,7 @@
// The ID of the child process.
int child_id_;
- ChildProcessInfo::ProcessType process_type_;
+ content::ProcessType process_type_;
// Owned by ProfileIOData* which is guaranteed to outlive us.
const content::ResourceContext* const resource_context_;

Powered by Google App Engine
This is Rietveld 408576698