Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Issue 2603433002: Move SecurityInterstitialPage into component (Closed)

Created:
4 years ago by Jialiu Lin
Modified:
3 years, 11 months ago
CC:
chromium-reviews, droger+watchlist_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org, jam, darin-cc_chromium.org, blundell+watchlist_chromium.org, lpz
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move SecurityInterstitialPage into components/security_interstitial/content. And resolve all the dependencies and tests and so on. BUG=666100 Review-Url: https://codereview.chromium.org/2603433002 Cr-Commit-Position: refs/heads/master@{#441701} Committed: https://chromium.googlesource.com/chromium/src/+/a2c0692563f58517c32e839312695e91f45971a3

Patch Set 1 : Move SecurityInterstitialPage into component #

Patch Set 2 : fix some nits #

Patch Set 3 : nit, refind comments #

Total comments: 24

Patch Set 4 : address comments from meacer@ and rebase #

Patch Set 5 : fix ios compilation problem #

Total comments: 4

Patch Set 6 : nit #

Patch Set 7 : revert GetPrefService to non-const #

Patch Set 8 : rebase update #

Patch Set 9 : fix conflict in BUILD #

Patch Set 10 : missed some changes in rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -399 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_browsertest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/interstitials/chrome_controller_client.h View 1 2 3 1 chunk +3 lines, -21 lines 0 comments Download
M chrome/browser/interstitials/chrome_controller_client.cc View 1 2 3 3 chunks +6 lines, -57 lines 0 comments Download
D chrome/browser/interstitials/security_interstitial_page.h View 1 chunk +0 lines, -97 lines 0 comments Download
D chrome/browser/interstitials/security_interstitial_page.cc View 1 chunk +0 lines, -110 lines 0 comments Download
M chrome/browser/interstitials/security_interstitial_page_test_utils.h View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/interstitials/security_interstitial_page_test_utils.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -9 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 chunks +33 lines, -19 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ssl/bad_clock_blocking_page.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ssl/bad_clock_blocking_page.cc View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/ssl/captive_portal_blocking_page.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ssl/captive_portal_blocking_page.cc View 1 chunk +6 lines, -3 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, -1 line 0 comments Download
M chrome/browser/ssl/cert_report_helper.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M components/safe_browsing/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M components/security_interstitials/content/BUILD.gn View 1 2 3 4 5 2 chunks +11 lines, -1 line 0 comments Download
M components/security_interstitials/content/DEPS View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A components/security_interstitials/content/security_interstitial_controller_client.h View 1 2 3 4 5 6 1 chunk +70 lines, -0 lines 0 comments Download
A components/security_interstitials/content/security_interstitial_controller_client.cc View 1 2 3 4 5 6 1 chunk +102 lines, -0 lines 0 comments Download
A + components/security_interstitials/content/security_interstitial_page.h View 1 4 chunks +13 lines, -18 lines 0 comments Download
A + components/security_interstitials/content/security_interstitial_page.cc View 1 3 chunks +16 lines, -19 lines 0 comments Download
M components/security_interstitials/core/controller_client.h View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M components/security_interstitials/core/safe_browsing_error_ui.h View 1 2 3 3 chunks +37 lines, -6 lines 0 comments Download
M components/security_interstitials/core/safe_browsing_error_ui.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M ios/chrome/browser/interstitials/ios_chrome_controller_client.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/interstitials/ios_chrome_controller_client.mm View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 83 (58 generated)
Jialiu Lin
Hi meacer@, Could you take a look at this componentization/refactoring CL? Thanks!
3 years, 12 months ago (2016-12-27 22:26:22 UTC) #18
meacer
Looking good, some questions and nits. https://codereview.chromium.org/2603433002/diff/80001/chrome/browser/interstitials/chrome_controller_client.cc File chrome/browser/interstitials/chrome_controller_client.cc (right): https://codereview.chromium.org/2603433002/diff/80001/chrome/browser/interstitials/chrome_controller_client.cc#newcode159 chrome/browser/interstitials/chrome_controller_client.cc:159: return profile->GetPrefs(); Seems ...
3 years, 12 months ago (2016-12-27 23:22:34 UTC) #19
Jialiu Lin
Thanks, meacer@! All your comments/questions are addressed. https://codereview.chromium.org/2603433002/diff/80001/chrome/browser/interstitials/chrome_controller_client.cc File chrome/browser/interstitials/chrome_controller_client.cc (right): https://codereview.chromium.org/2603433002/diff/80001/chrome/browser/interstitials/chrome_controller_client.cc#newcode159 chrome/browser/interstitials/chrome_controller_client.cc:159: return profile->GetPrefs(); ...
3 years, 11 months ago (2016-12-28 18:30:01 UTC) #22
Jialiu Lin
+ mmenke@chromium.org: Please review changes in c/b/captive_portal + tnagel@chromium.org: Please review changes in c/b/policy Thanks!
3 years, 11 months ago (2016-12-28 18:33:15 UTC) #24
mmenke
On 2016/12/28 18:33:15, Jialiu Lin wrote: > + mailto:mmenke@chromium.org: Please review changes in c/b/captive_portal > ...
3 years, 11 months ago (2016-12-28 18:42:46 UTC) #27
Jialiu Lin
+ eugenebut@chromium.org Could you take a look at changes in ios/chrome/browser/*? Thanks!
3 years, 11 months ago (2016-12-28 18:52:32 UTC) #31
meacer
LGTM https://codereview.chromium.org/2603433002/diff/80001/components/security_interstitials/content/security_interstitial_controller_client.h File components/security_interstitials/content/security_interstitial_controller_client.h (right): https://codereview.chromium.org/2603433002/diff/80001/components/security_interstitials/content/security_interstitial_controller_client.h#newcode21 components/security_interstitials/content/security_interstitial_controller_client.h:21: // by SafeBrowsingBlockingPage. On 2016/12/28 18:30:00, Jialiu Lin ...
3 years, 11 months ago (2016-12-28 19:02:22 UTC) #32
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2603433002/diff/120001/ios/chrome/browser/interstitials/ios_chrome_controller_client.h File ios/chrome/browser/interstitials/ios_chrome_controller_client.h (right): https://codereview.chromium.org/2603433002/diff/120001/ios/chrome/browser/interstitials/ios_chrome_controller_client.h#newcode45 ios/chrome/browser/interstitials/ios_chrome_controller_client.h:45: PrefService* GetPrefService() const override; Should |PrefService*| be also ...
3 years, 11 months ago (2016-12-28 19:02:52 UTC) #33
Jialiu Lin
Thanks! https://codereview.chromium.org/2603433002/diff/80001/components/security_interstitials/content/security_interstitial_controller_client.h File components/security_interstitials/content/security_interstitial_controller_client.h (right): https://codereview.chromium.org/2603433002/diff/80001/components/security_interstitials/content/security_interstitial_controller_client.h#newcode21 components/security_interstitials/content/security_interstitial_controller_client.h:21: // by SafeBrowsingBlockingPage. On 2016/12/28 19:02:22, Mustafa Emre ...
3 years, 11 months ago (2016-12-28 19:40:32 UTC) #41
Jialiu Lin
+nasko@ because I need LGTM from owners of content/public/common in DEPS that was modified in ...
3 years, 11 months ago (2016-12-28 19:46:01 UTC) #43
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2603433002/diff/120001/ios/chrome/browser/interstitials/ios_chrome_controller_client.h File ios/chrome/browser/interstitials/ios_chrome_controller_client.h (right): https://codereview.chromium.org/2603433002/diff/120001/ios/chrome/browser/interstitials/ios_chrome_controller_client.h#newcode45 ios/chrome/browser/interstitials/ios_chrome_controller_client.h:45: PrefService* GetPrefService() const override; On 2016/12/28 19:40:32, Jialiu Lin ...
3 years, 11 months ago (2016-12-28 20:01:34 UTC) #49
Jialiu Lin
https://codereview.chromium.org/2603433002/diff/120001/ios/chrome/browser/interstitials/ios_chrome_controller_client.h File ios/chrome/browser/interstitials/ios_chrome_controller_client.h (right): https://codereview.chromium.org/2603433002/diff/120001/ios/chrome/browser/interstitials/ios_chrome_controller_client.h#newcode45 ios/chrome/browser/interstitials/ios_chrome_controller_client.h:45: PrefService* GetPrefService() const override; On 2016/12/28 20:01:34, Eugene But ...
3 years, 11 months ago (2016-12-28 20:13:40 UTC) #50
Jialiu Lin
Gentle ping for owner and dependency review. Thanks! +nasko@ because I need LGTM from owners ...
3 years, 11 months ago (2017-01-03 17:57:33 UTC) #53
nasko
I'm not sure you need my stamp, but nevertheless components/security_interstitials/content/DEPS LGTM.
3 years, 11 months ago (2017-01-04 01:03:04 UTC) #54
pastarmovj
policy lgtm
3 years, 11 months ago (2017-01-04 10:20:06 UTC) #55
pastarmovj
policy lgtm
3 years, 11 months ago (2017-01-04 10:20:06 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603433002/200001
3 years, 11 months ago (2017-01-04 16:52:24 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/129947) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-04 16:54:14 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603433002/260001
3 years, 11 months ago (2017-01-04 19:32:26 UTC) #72
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/334839)
3 years, 11 months ago (2017-01-04 19:40:54 UTC) #74
Jialiu Lin
Need one more LGTM. +battre@ because I need LGTM from owners of components/prefs in DEPS ...
3 years, 11 months ago (2017-01-04 19:44:34 UTC) #76
Jialiu Lin
+cc lpz@
3 years, 11 months ago (2017-01-05 01:11:59 UTC) #77
battre
dependence on components/prefs LGTM
3 years, 11 months ago (2017-01-05 08:20:59 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603433002/260001
3 years, 11 months ago (2017-01-05 18:08:27 UTC) #80
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 18:13:41 UTC) #83
Message was sent while issue was closed.
Committed patchset #10 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/a2c0692563f58517c32e83931269...

Powered by Google App Engine
This is Rietveld 408576698