|
Remove use of ResourceRequestInfo::GetRequestID from cert enrollment.
That use is both wrong (request IDs are global) and unnecessary since cert
enrollment is not a multi-step process. There's some stub code and indirections
for prompting to add a cert that's never actually used. Collapse it all to
simplify things. Move other random things out of SSLTabHelper which is also
no longer necessary.
(If anything, this stuff should probably go through the downloads
infrastructure to inherit all the user-gesture and throttling checks.)
Also move the AddCertificate hook from render_view_id to render_frame_id.
BUG= 376003
TEST=Visit https://davidben.net/mixed-content-test.html; Click button. Lock
icon should change to lock icon with warning.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275503
Total comments: 3
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+216 lines, -705 lines) |
Patch |
 |
M |
android_webview/browser/aw_content_browser_client.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/aw_content_browser_client.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/Tab.java
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/TabObserver.java
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ssl/ssl_add_cert_handler.h
|
View
|
|
1 chunk |
+0 lines, -61 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ssl/ssl_add_cert_handler.cc
|
View
|
|
1 chunk |
+0 lines, -110 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ssl/ssl_add_cert_handler_mac.mm
|
View
|
|
1 chunk |
+0 lines, -88 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_add_certificate.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_add_certificate.cc
|
View
|
1
2
3
|
2 chunks |
+144 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_add_certificate_android.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_blocking_page.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_tab_helper.h
|
View
|
1
|
1 chunk |
+0 lines, -79 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_tab_helper.cc
|
View
|
1
|
1 chunk |
+0 lines, -268 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser.h
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/tab_helpers.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/web_contents_delegate_android/web_contents_delegate_android.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/web_contents_delegate_android/web_contents_delegate_android.cc
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/web_contents_observer_android.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/web_contents_observer_android.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/certificate_resource_handler.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/content_browser_client.h
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_delegate.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_observer.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|