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

Unified Diff: content/child/site_isolation_policy.h

Issue 293353007: Move resource_response_info from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_unittest.cc ('k') | content/child/site_isolation_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/site_isolation_policy.h
diff --git a/content/child/site_isolation_policy.h b/content/child/site_isolation_policy.h
index 961193ba3a01d606721c8ce4c2fca79121a620c0..6c48697b596b36f7c7a6d4d777cc7eaef9824180 100644
--- a/content/child/site_isolation_policy.h
+++ b/content/child/site_isolation_policy.h
@@ -16,12 +16,10 @@
class GURL;
-namespace webkit_glue {
-struct ResourceResponseInfo;
-}
-
namespace content {
+struct ResourceResponseInfo;
+
// SiteIsolationPolicy implements the cross-site document blocking policy (XSDP)
// for Site Isolation. XSDP will monitor network responses to a renderer and
// block illegal responses so that a compromised renderer cannot steal private
@@ -86,9 +84,11 @@ class CONTENT_EXPORT SiteIsolationPolicy {
// request identified by |request_id|. Any data returned should then be
// passed to ShouldBlockResponse with the first packet.
static linked_ptr<SiteIsolationResponseMetaData> OnReceivedResponse(
- const GURL& frame_origin, const GURL& response_url,
- ResourceType::Type resource_type, int origin_pid,
- const webkit_glue::ResourceResponseInfo& info);
+ const GURL& frame_origin,
+ const GURL& response_url,
+ ResourceType::Type resource_type,
+ int origin_pid,
+ const ResourceResponseInfo& info);
// Examines the first network packet in case response_url is registered as a
// cross-site document by DidReceiveResponse(). In case that this response is
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/child/site_isolation_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698