diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-17 09:18:06 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-17 09:18:06 +0000 |
commit | c46b0e667387bb42a18be86e8b1f85e968902953 (patch) | |
tree | 801ddb204b400e25ecd3fe1211584e5b5519e93e /chrome/common/resource_dispatcher.h | |
parent | ffc45869f044885b81265e6a67cb0220758113b5 (diff) | |
download | chromium_src-c46b0e667387bb42a18be86e8b1f85e968902953.zip chromium_src-c46b0e667387bb42a18be86e8b1f85e968902953.tar.gz chromium_src-c46b0e667387bb42a18be86e8b1f85e968902953.tar.bz2 |
SSLPolicy Fix: Step 3.
Plumbing the security origin of the frame making the request to SSL land.
R=wtc
BUG=8706
Review URL: http://codereview.chromium.org/48038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_dispatcher.h')
-rw-r--r-- | chrome/common/resource_dispatcher.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h index 53fc665..1374577 100644 --- a/chrome/common/resource_dispatcher.h +++ b/chrome/common/resource_dispatcher.h @@ -39,19 +39,19 @@ class ResourceDispatcher { const GURL& url, const GURL& policy_url, const GURL& referrer, + const std::string& frame_origin, + const std::string& main_frame_origin, const std::string& headers, int load_flags, int origin_pid, ResourceType::Type resource_type, - bool mixed_content, uint32 request_context /* used for plugin->browser requests */, int route_id); // Adds a request from the pending_requests_ list, returning the new // requests' ID int AddPendingRequest(webkit_glue::ResourceLoaderBridge::Peer* callback, - ResourceType::Type resource_type, - bool mixed_content); + ResourceType::Type resource_type); // Removes a request from the pending_requests_ list, returning true if the // request was found and removed. @@ -71,12 +71,10 @@ class ResourceDispatcher { struct PendingRequestInfo { PendingRequestInfo() { } PendingRequestInfo(webkit_glue::ResourceLoaderBridge::Peer* peer, - ResourceType::Type resource_type, - bool mixed_content) + ResourceType::Type resource_type) : peer(peer), resource_type(resource_type), filter_policy(FilterPolicy::DONT_FILTER), - mixed_content(mixed_content), is_deferred(false) { } ~PendingRequestInfo() { } @@ -84,7 +82,6 @@ class ResourceDispatcher { ResourceType::Type resource_type; FilterPolicy::Type filter_policy; MessageQueue deferred_message_queue; - bool mixed_content; bool is_deferred; }; typedef base::hash_map<int, PendingRequestInfo> PendingRequestList; |