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

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: ResourceDispatcher uses SiteIsolationPolicy as the outermost Peer 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..2302046786ee8c3f470cf3d206d570298afa6d66 100644
--- a/content/child/resource_dispatcher.h
+++ b/content/child/resource_dispatcher.h
@@ -15,6 +15,7 @@
#include "base/memory/shared_memory.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
+#include "content/child/site_isolation_policy.h"
#include "content/common/content_export.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
@@ -43,7 +44,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
// Adds a request from the pending_requests_ list, returning the new
// requests' ID
- int AddPendingRequest(webkit_glue::ResourceLoaderBridge::Peer* callback,
+ int AddPendingRequest(SiteIsolationPolicy* callback,
darin (slow to review) 2013/08/20 23:47:05 nit: it is a bit confusing to refer to something t
dsjang 2013/08/21 18:49:57 Done.
ResourceType::Type resource_type,
const GURL& request_url);
@@ -83,13 +84,14 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
struct PendingRequestInfo {
PendingRequestInfo();
- PendingRequestInfo(webkit_glue::ResourceLoaderBridge::Peer* peer,
- ResourceType::Type resource_type,
- const GURL& request_url);
+ PendingRequestInfo(
+ SiteIsolationPolicy* peer,
+ ResourceType::Type resource_type,
+ const GURL& request_url);
~PendingRequestInfo();
- webkit_glue::ResourceLoaderBridge::Peer* peer;
+ SiteIsolationPolicy* peer;
ResourceType::Type resource_type;
MessageQueue deferred_message_queue;
bool is_deferred;

Powered by Google App Engine
This is Rietveld 408576698