Index: content/child/resource_dispatcher.h |
diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h |
index 66416f4396f819e2f01ab4f9da3ce9bf625f2af3..465a0a3e18b05de297b568333a8eac0280e50d37 100644 |
--- a/content/child/resource_dispatcher.h |
+++ b/content/child/resource_dispatcher.h |
@@ -45,6 +45,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener { |
// requests' ID |
int AddPendingRequest(webkit_glue::ResourceLoaderBridge::Peer* callback, |
ResourceType::Type resource_type, |
+ const GURL& frame_origin, |
const GURL& request_url); |
// Removes a request from the pending_requests_ list, returning true if the |
@@ -85,6 +86,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener { |
PendingRequestInfo(webkit_glue::ResourceLoaderBridge::Peer* peer, |
ResourceType::Type resource_type, |
+ const GURL& frame_origin, |
const GURL& request_url); |
~PendingRequestInfo(); |
@@ -93,7 +95,12 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener { |
ResourceType::Type resource_type; |
MessageQueue deferred_message_queue; |
bool is_deferred; |
+ // Original requested url. |
GURL url; |
+ // The security origin of the frame that initiates this request. |
+ GURL frame_origin; |
+ // The url of the latest response even in case of redirection. |
+ GURL response_url; |
linked_ptr<IPC::Message> pending_redirect_message; |
base::TimeTicks request_start; |
base::TimeTicks response_start; |