Index: content/public/browser/resource_request_info.h |
diff --git a/content/public/browser/resource_request_info.h b/content/public/browser/resource_request_info.h |
index 91cd1e875fc3976ae684628ed909e79d6b99778b..7683d23a48b2b92ba8f30b256ce50fdf35064785 100644 |
--- a/content/public/browser/resource_request_info.h |
+++ b/content/public/browser/resource_request_info.h |
@@ -30,14 +30,13 @@ class ResourceRequestInfo { |
// Allocates a new, dummy ResourceRequestInfo and associates it with the |
// given URLRequest. |
// NOTE: Add more parameters if you need to initialize other fields. |
- CONTENT_EXPORT static void AllocateForTesting( |
- net::URLRequest* request, |
- ResourceType::Type resource_type, |
- ResourceContext* context, |
- int render_process_id, |
- int render_view_id, |
- int render_frame_id, |
- bool is_async); |
+ CONTENT_EXPORT static void AllocateForTesting(net::URLRequest* request, |
+ ResourceType resource_type, |
+ ResourceContext* context, |
+ int render_process_id, |
+ int render_view_id, |
+ int render_frame_id, |
+ bool is_async); |
// Returns the associated RenderFrame for a given process. Returns false, if |
// there is no associated RenderFrame. This method does not rely on the |
@@ -82,7 +81,7 @@ class ResourceRequestInfo { |
virtual int GetParentRenderFrameID() const = 0; |
// Returns the associated resource type. |
- virtual ResourceType::Type GetResourceType() const = 0; |
+ virtual ResourceType GetResourceType() const = 0; |
// Returns the process type that initiated this request. |
virtual int GetProcessType() const = 0; |