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

Unified Diff: content/public/browser/resource_request_info.h

Issue 425653002: content: ResourceType cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 5 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/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;
« no previous file with comments | « content/public/browser/resource_request_details.h ('k') | content/public/child/resource_dispatcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698