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

Unified Diff: chrome/common/resource_dispatcher.h

Issue 46094: Fix our handling of mixed SSL / non-SSL content.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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: chrome/common/resource_dispatcher.h
===================================================================
--- chrome/common/resource_dispatcher.h (revision 11701)
+++ chrome/common/resource_dispatcher.h (working copy)
@@ -39,19 +39,19 @@
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.
@@ -75,12 +75,10 @@
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() { }
@@ -88,7 +86,6 @@
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;

Powered by Google App Engine
This is Rietveld 408576698