|
net: make HSTS hosts use the normal SSL interstitials
SSL interstitials have better translations for the error messages and this
returns us to the point where we have only a single UI for SSL errors, which
will make some future changes easier.
First, this change changes the SSL error callbacks to take an SSLInfo& rather
than a X509Certificate* (which was already a TODO(wtc) in the code). Most of
this change is the resulting plumbing.
It also adds a |is_hsts_host| flag to the callbacks to denote an HSTS host.
Finally, in ssl_policy.cc the |is_hsts_host| flag causes any error to be
fatal.
BUG= 93527
TEST=none
Total comments: 12
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+93 lines, -92 lines) |
Patch |
|
M |
content/browser/renderer_host/resource_dispatcher_host.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/resource_dispatcher_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/ssl/ssl_cert_error_handler.h
|
View
|
1
2
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/ssl/ssl_cert_error_handler.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/browser/ssl/ssl_manager.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/ssl/ssl_manager.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/browser/ssl/ssl_policy.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
net/proxy/proxy_script_fetcher_impl.h
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
net/proxy/proxy_script_fetcher_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request.h
|
View
|
1
2
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request_http_job.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request_http_job.cc
|
View
|
1
2
|
2 chunks |
+10 lines, -26 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request_job.h
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
net/url_request/url_request_job.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request_test_util.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request_test_util.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webkit/fileapi/file_writer_delegate.h
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -9 lines |
0 comments
|
Download
|
|
M |
webkit/fileapi/file_writer_delegate.cc
|
View
|
1
2
|
1 chunk |
+10 lines, -7 lines |
0 comments
|
Download
|
|
M |
webkit/tools/test_shell/simple_resource_loader_bridge.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|