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

Unified Diff: content/browser/loader/resource_request_info_impl.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/browser/loader/resource_request_info_impl.h
===================================================================
--- content/browser/loader/resource_request_info_impl.h (revision 189692)
+++ content/browser/loader/resource_request_info_impl.h (working copy)
@@ -12,7 +12,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/supports_user_data.h"
#include "content/public/browser/resource_request_info.h"
-#include "content/public/common/process_type.h"
#include "content/public/common/referrer.h"
#include "net/base/load_states.h"
#include "webkit/glue/resource_type.h"
@@ -40,7 +39,7 @@
const net::URLRequest* request);
CONTENT_EXPORT ResourceRequestInfoImpl(
- ProcessType process_type,
+ int process_type,
int child_id,
int route_id,
int origin_pid,
@@ -93,9 +92,7 @@
}
// Identifies the type of process (renderer, plugin, etc.) making the request.
- ProcessType process_type() const {
- return process_type_;
- }
+ int process_type() const { return process_type_; }
// Downloads are allowed only as a top level request.
bool allow_download() const { return allow_download_; }
@@ -128,7 +125,7 @@
// Non-owning, may be NULL.
CrossSiteResourceHandler* cross_site_handler_;
- ProcessType process_type_;
+ int process_type_;
int child_id_;
int route_id_;
int origin_pid_;

Powered by Google App Engine
This is Rietveld 408576698