Attach a SecurityStyle to each request in ResourceLoader
commit5318895a4dd623caf5d152461684935c6e874e12
authorestark <estark@chromium.org>
Tue, 28 Jul 2015 20:56:19 +0000 (28 13:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Jul 2015 20:56:51 +0000 (28 20:56 +0000)
tree3ad3ae810ea15d3e27d3b7bd463f82798499e42d
parent84dff94bdb4c72490263b1dcba295dd2ff6dbc9f
Attach a SecurityStyle to each request in ResourceLoader

This CL adds a SecurityStyle to the serialized security information that
is sent with each request from the browser to the renderer. The
SecurityStyle describes the individual resource, not any bigger-picture
concerns like mixed content. The per-request SecurityStyle will be
displayed in DevTools to help developers diagnose SSL issues on
subresources.

BUG=502118, 445234

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

Cr-Commit-Position: refs/heads/master@{#340762}
chrome/browser/ui/browser_browsertest.cc
content/browser/loader/resource_loader.cc
content/browser/loader/resource_loader_unittest.cc
content/browser/ssl/ssl_manager.cc
content/browser/ssl/ssl_manager.h
content/browser/ssl/ssl_policy.cc
content/browser/ssl/ssl_policy.h
content/common/ssl_status_serialization.cc
content/common/ssl_status_serialization.h
content/common/ssl_status_serialization_unittest.cc
content/renderer/render_view_browsertest.cc