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

Unified Diff: content/child/resource_dispatcher.cc

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/resource_dispatcher.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index ab4217609daaed9c5d91b1b350b0140e6b8b7c62..59dafe1bfacbdf33032de02bd875dfcddbcb9eed 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -574,7 +574,7 @@ void ResourceDispatcher::OnRequestComplete(
}
int ResourceDispatcher::AddPendingRequest(RequestPeer* callback,
- ResourceType::Type resource_type,
+ ResourceType resource_type,
int origin_pid,
const GURL& frame_origin,
const GURL& request_url,
@@ -672,7 +672,7 @@ bool ResourceDispatcher::AttachThreadedDataReceiver(
ResourceDispatcher::PendingRequestInfo::PendingRequestInfo()
: peer(NULL),
threaded_data_provider(NULL),
- resource_type(ResourceType::SUB_RESOURCE),
+ resource_type(RESOURCE_TYPE_SUB_RESOURCE),
is_deferred(false),
download_to_file(false),
blocked_response(false),
@@ -681,7 +681,7 @@ ResourceDispatcher::PendingRequestInfo::PendingRequestInfo()
ResourceDispatcher::PendingRequestInfo::PendingRequestInfo(
RequestPeer* peer,
- ResourceType::Type resource_type,
+ ResourceType resource_type,
int origin_pid,
const GURL& frame_origin,
const GURL& request_url,
« no previous file with comments | « content/child/resource_dispatcher.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698