|
Simplify security_interstitials::ControllerClient and other related classes.
- Remove set_metrics_helper from ControllerClient and passes the MetricHelper in the constructor.
- Use the metric helper from the ControllerClient instead of doing it through SecurityInterstitialPage methods.
- Remove obsolete methods from SecurityInterstitialPage.
- Convert a bunch of methods to static, group some code into separate functions.
BUG= 488673
Committed: https://crrev.com/d19deef47a83440e0b5803283a4075716ca1b9eb
Cr-Commit-Position: refs/heads/master@{#421718}
Total comments: 5
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+299 lines, -198 lines) |
Patch |
 |
M |
chrome/browser/interstitials/chrome_controller_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/interstitials/chrome_controller_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/interstitials/security_interstitial_page.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/interstitials/security_interstitial_page.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/safe_browsing_blocking_page.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+18 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
10 chunks |
+90 lines, -59 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/bad_clock_blocking_page.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/captive_portal_blocking_page.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_blocking_page.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+26 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_blocking_page.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+71 lines, -43 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_browser_tests.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_error_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/interstitials/interstitial_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/security_interstitials/core/controller_client.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/security_interstitials/core/controller_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/interstitials/ios_chrome_controller_client.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/interstitials/ios_security_interstitial_page.h
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/interstitials/ios_security_interstitial_page.mm
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+22 lines, -17 lines |
0 comments
|
Download
|
Total messages: 43 (27 generated)
|