Chromium Code Reviews| 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; |