|
|
Remove SSLStatus::security_style member and content::SecurityStyle
Previously, //content used SSLStatus::security_style to express an
opinion about the overall security state of the
page. SecurityStateModel/ChromeSecurityStateModelClient used this
SecurityStyle as a starting point, applying Chrome-specific policies
such as SHA1 deprecation to produce a SecurityLevel, which corresponds
to the lock icon. Then, for conveying the security state of a page back
to DevTools, the SecurityLevel would get converted back into a
SecurityStyle (often a different SecurityStyle than what //content
assigned in SSLStatus::security_style). Additionally, SecurityStyles are
used to convey per-request security info to DevTools.
This CL removes SSLStatus::security_style, so that //content no longer
assigns an overall security state to a page. This means that
SecurityStyles are now only used to convey security
information (per-page or per-request) to DevTools. We only convert from
SecurityLevels to SecurityStyles, and never the other way around.
Since content::SecurityStyle no longer serves any purpose besides
ferrying information to devtools, I removed content::SecurityStyle and
just use blink::WebSecurityStyle everywhere (which has been pulled out
into its own file, from blink::WebURLResponse::SecurityStyle).
This should hopefully make SecurityLevel/SecurityStyle less confusing,
and remove the temptation to use SSLStatus::security_style
as an indicator of overall page security state instead of the
embedder-specific SecurityLevel.
BUG= 648326
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/47ba9c7d92885d137c51b462d8af87e3f3a6ecdd
Cr-Commit-Position: refs/heads/master@{#424436}
Total comments: 16
Total comments: 2
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+297 lines, -468 lines) |
Patch |
 |
M |
android_webview/native/aw_autofill_client.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/policy/policy_auditor.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+19 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/bad_clock_blocking_page.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/captive_portal_blocking_page.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/chrome_security_state_model_client.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/chrome_security_state_model_client.cc
|
View
|
1
2
3
4
|
7 chunks |
+11 lines, -49 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc
|
View
|
1
2
3
4
5
|
10 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_blocking_page.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_browser_tests.cc
|
View
|
1
2
3
4
|
17 chunks |
+54 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/autofill/chrome_autofill_client.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/security_state/security_state_model.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
components/security_state/security_state_model.cc
|
View
|
|
10 chunks |
+73 lines, -95 lines |
0 comments
|
Download
|
 |
M |
components/security_state/security_state_model_client.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/security_state/security_state_model_unittest.cc
|
View
|
|
10 chunks |
+1 line, -17 lines |
0 comments
|
Download
|
 |
M |
content/browser/DEPS
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/devtools/protocol/security_handler.h
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/devtools/protocol/security_handler.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_entry_impl_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_resource_handler.cc
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_browsertest.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/site_per_process_browsertest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/ssl/ssl_manager.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/child/web_url_loader_impl.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+31 lines, -29 lines |
0 comments
|
Download
|
 |
M |
content/common/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
D |
content/common/security_style_util.h
|
View
|
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
D |
content/common/security_style_util.cc
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/security_style_explanations.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/security_style_explanations.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/ssl_status.h
|
View
|
|
3 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/ssl_status.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_delegate.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_delegate.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_observer.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/common/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/common/common_param_traits_macros.h
|
View
|
1
2
3
4
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
D |
content/public/common/security_style.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ssl/ios_chrome_security_state_model_client.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ssl/ios_chrome_security_state_model_client.mm
|
View
|
|
2 chunks |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/public/platform/WebSecurityStyle.h
|
View
|
1
2
3
4
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/WebURLResponse.h
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
Total messages: 63 (44 generated)
|