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

Unified Diff: content/child/resource_dispatcher.h

Issue 22254005: UMA data collector for cross-site documents(XSD) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: blocking code gets simpler and testcase is moved to /content Created 7 years, 4 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/child/resource_dispatcher.h
diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
index 66416f4396f819e2f01ab4f9da3ce9bf625f2af3..0e6d4a27a77113a27e5924d2e0faac2c84f2c921 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
Charlie Reis 2013/08/22 18:23:30 nit: End with period.
dsjang 2013/08/22 19:05:55 Done.
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;

Powered by Google App Engine
This is Rietveld 408576698