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

Unified Diff: content/child/resource_dispatcher.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
« no previous file with comments | « content/child/request_info.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.h
diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
index f7f62ff7a78b141b17936c87272620e995d18db3..5fa68e95dc1849aff82838a3176a6895c09901b2 100644
--- a/content/child/resource_dispatcher.h
+++ b/content/child/resource_dispatcher.h
@@ -20,6 +20,7 @@
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
#include "net/base/request_priority.h"
+#include "url/gurl.h"
struct ResourceMsg_RequestCompleteData;
@@ -60,7 +61,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
// Adds a request from the |pending_requests_| list, returning the new
// requests' ID.
int AddPendingRequest(RequestPeer* callback,
- ResourceType::Type resource_type,
+ ResourceType resource_type,
int origin_pid,
const GURL& frame_origin,
const GURL& request_url,
@@ -108,7 +109,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
PendingRequestInfo();
PendingRequestInfo(RequestPeer* peer,
- ResourceType::Type resource_type,
+ ResourceType resource_type,
int origin_pid,
const GURL& frame_origin,
const GURL& request_url,
@@ -118,7 +119,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
RequestPeer* peer;
ThreadedDataProvider* threaded_data_provider;
- ResourceType::Type resource_type;
+ ResourceType resource_type;
// The PID of the original process which issued this request. This gets
// non-zero only for a request proxied by another renderer, particularly
// requests from plugins.
« no previous file with comments | « content/child/request_info.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698