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

Unified Diff: content/child/request_extra_data.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Addressed all jam@ latest 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
Index: content/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index 553469e2745076a26ef6608bcc0550ad7d8a4648..d544989a41b618358c6cc5a704e684eff6ea7b8e 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -149,6 +149,15 @@ class CONTENT_EXPORT RequestExtraData
download_to_network_cache_only_ = download_to_cache;
}
+ // Copy of the settings value determining if mixed plugin content should be
+ // blocked.
+ bool block_mixed_plugin_content() const {
+ return block_mixed_plugin_content_;
+ }
+ void set_block_mixed_plugin_content(bool block_mixed_plugin_content) {
+ block_mixed_plugin_content_ = block_mixed_plugin_content;
+ }
+
void CopyToResourceRequest(ResourceRequest* request) const;
private:
@@ -171,6 +180,7 @@ class CONTENT_EXPORT RequestExtraData
bool initiated_in_secure_context_;
bool is_prefetch_;
bool download_to_network_cache_only_;
+ bool block_mixed_plugin_content_;
DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
};

Powered by Google App Engine
This is Rietveld 408576698