Introduce a field trial to strictly block "blockable" mixed content.
commit2384c822ac23e8bd427c65ff5e7edd28d07f8b61
authormkwst <mkwst@chromium.org>
Thu, 30 Jul 2015 07:26:47 +0000 (30 00:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Jul 2015 07:27:53 +0000 (30 07:27 +0000)
tree17fa9796b0cdc1ef024aaf455c2bd88fe203b330
parent03ef8fec8766f1fd8289f1e4e4c19d1d463b2d99
Introduce a field trial to strictly block "blockable" mixed content.

This patch adds a field trial group to control the Blink-side
"StrictlyBlockBlockableMixedContent" setting, which governs whether or
not Blink asks its embedder whether or not blockable mixed content
should load.

This has the effect of disabling the mixed content shield UI completely
for users who land in the field trial. The intent is to enable the trial
for Canary and Dev, and see how it goes.

blink-dev thread: https://groups.google.com/a/chromium.org/d/msg/blink-dev/1yWQaXmkXpA/BDV1-dC9su4J

BUG=513163
R=jochen@chromium.org,philipj@opera.com

Review URL: https://codereview.chromium.org/1251243005

Cr-Commit-Position: refs/heads/master@{#341077}
content/browser/renderer_host/render_view_host_impl.cc
content/public/common/common_param_traits_macros.h
content/public/common/web_preferences.cc
content/public/common/web_preferences.h
content/renderer/render_view_impl.cc