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

Unified Diff: content/common/navigation_params.cc

Issue 2625633002: Supporting changes in preparation of browser side mixed content checking. (Closed)
Patch Set: Address code review comments. Created 3 years, 11 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/common/navigation_params.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index 51220c03b9bc75dbb97da4af9bb69047ec2d23d0..cf755986e8643915460b016f2afec278bf1d9d38 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -84,7 +84,9 @@ BeginNavigationParams::BeginNavigationParams()
: load_flags(0),
has_user_gesture(false),
skip_service_worker(false),
- request_context_type(REQUEST_CONTEXT_TYPE_LOCATION) {}
+ request_context_type(REQUEST_CONTEXT_TYPE_LOCATION),
+ mixed_content_context_type(blink::WebMixedContentContextType::Blockable) {
+}
BeginNavigationParams::BeginNavigationParams(
std::string headers,
@@ -92,12 +94,14 @@ BeginNavigationParams::BeginNavigationParams(
bool has_user_gesture,
bool skip_service_worker,
RequestContextType request_context_type,
+ blink::WebMixedContentContextType mixed_content_context_type,
const base::Optional<url::Origin>& initiator_origin)
: headers(headers),
load_flags(load_flags),
has_user_gesture(has_user_gesture),
skip_service_worker(skip_service_worker),
request_context_type(request_context_type),
+ mixed_content_context_type(mixed_content_context_type),
initiator_origin(initiator_origin) {}
BeginNavigationParams::BeginNavigationParams(
« no previous file with comments | « content/common/navigation_params.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698