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

Issue 2852333003: Rename SafeBrowsingErrorUI to SafeBrowsingLoudErrorUI (Closed)

Created:
3 years, 7 months ago by edwardjung
Modified:
3 years, 7 months ago
CC:
Jialiu Lin, chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename SafeBrowsingErrorUI to SafeBrowsingLoudErrorUI In preparation for adding a 'quiet' version of the Safe Browsing interstitial UI. BUG=716096 Review-Url: https://codereview.chromium.org/2852333003 Cr-Commit-Position: refs/heads/master@{#471479} Committed: https://chromium.googlesource.com/chromium/src/+/d7395fb0478f05e183d9aa649ef72e859987c84f

Patch Set 1 #

Patch Set 2 : Move SafeBrowsingErrorUI to SafeBrowsingLoudErrorUI #

Total comments: 5

Patch Set 3 : Remove the UI changes #

Patch Set 4 : ~>.<~ #

Patch Set 5 : Add safe_browsing_blocking_page.cc #

Total comments: 5

Patch Set 6 : Fix tests #

Total comments: 4

Patch Set 7 : Fix crashes and Android compile errors #

Total comments: 2

Patch Set 8 : Fix nits and Android compile errors #

Patch Set 9 : Switch help center link to one with P-link #

Patch Set 10 : Fix merge conflict #

Total comments: 6

Patch Set 11 : Address nits #

Patch Set 12 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -600 lines) Patch
M android_webview/browser/aw_safe_browsing_blocking_page.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/browser/aw_safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 8 9 5 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M components/safe_browsing/base_blocking_page.h View 1 2 3 4 5 6 6 chunks +9 lines, -8 lines 0 comments Download
M components/safe_browsing/base_blocking_page.cc View 1 2 3 10 chunks +17 lines, -15 lines 0 comments Download
M components/security_interstitials/core/BUILD.gn View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
A + components/security_interstitials/core/base_safe_browsing_error_ui.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +49 lines, -34 lines 0 comments Download
A components/security_interstitials/core/base_safe_browsing_error_ui.cc View 1 2 3 4 5 6 1 chunk +27 lines, -0 lines 0 comments Download
D components/security_interstitials/core/safe_browsing_error_ui.h View 1 1 chunk +0 lines, -130 lines 0 comments Download
D components/security_interstitials/core/safe_browsing_error_ui.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -310 lines 0 comments Download
A components/security_interstitials/core/safe_browsing_loud_error_ui.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +54 lines, -0 lines 0 comments Download
A + components/security_interstitials/core/safe_browsing_loud_error_ui.cc View 1 2 3 4 5 6 7 8 9 12 chunks +69 lines, -74 lines 0 comments Download

Messages

Total messages: 66 (43 generated)
edwardjung
Tweaks for the current interstitial. Let me know if this direction looks okay. - SBErrorDisplayOptions ...
3 years, 7 months ago (2017-05-02 17:13:59 UTC) #2
edwardjung
Tweaks for the current interstitial. Let me know if this direction looks okay. - SBErrorDisplayOptions ...
3 years, 7 months ago (2017-05-02 23:44:03 UTC) #4
felt
I'd highly recommend splitting the class renaming & the actual changes into separate CLs. I ...
3 years, 7 months ago (2017-05-03 17:12:35 UTC) #5
felt
https://codereview.chromium.org/2852333003/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/2852333003/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode191 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:191: ->base_safe_browsing_error_ui.is_extended_reporting_opt_in_allowed(); If sb_error_ui returned a BaseSafeBrowsingErrorUI, you would be ...
3 years, 7 months ago (2017-05-03 18:17:02 UTC) #6
edwardjung
Thanks for the comments. I refactored this CL to be just for the rename. It's ...
3 years, 7 months ago (2017-05-04 20:48:15 UTC) #8
felt
What's the crash look like? https://codereview.chromium.org/2852333003/diff/80001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/2852333003/diff/80001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode19 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:19: #include "components/security_interstitials/core/safe_browsing_loud_error_ui.h" Is this ...
3 years, 7 months ago (2017-05-05 00:28:29 UTC) #9
edwardjung
> What's the crash look like? This is the output from gdb: https://paste.googleplex.com/4756837291261952 Seems to ...
3 years, 7 months ago (2017-05-05 19:37:39 UTC) #18
edwardjung
Spent more time trying to debug the crash and from the tests, example: https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.win%2Fwin_chromium_rel_ng%2F437090%2F%2B%2Frecipes%2Fsteps%2Fbrowser_tests__with_patch_%2F0%2Flogs%2FSafeBrowsingBlockingPageBrowserTestWithThreatTypeAndIsolationSetting__x2f_SafeBrowsingBlockingPageBrowserTest.ReloadWhileInterstitialShowing__x2f_5%2F0 and ...
3 years, 7 months ago (2017-05-07 13:49:50 UTC) #19
Jialiu Lin
I'll patch your CL and give a try.
3 years, 7 months ago (2017-05-08 18:08:00 UTC) #21
Jialiu Lin
Hi edwardjung, All these crashes are caused by one minor problem. Please see my comment ...
3 years, 7 months ago (2017-05-08 18:51:16 UTC) #22
edwardjung
@Jialiu, thanks for the pointers. As you've probably gathered C++ isn't my primary language! Crashes ...
3 years, 7 months ago (2017-05-08 20:43:01 UTC) #25
felt
lgtm % fix https://codereview.chromium.org/2852333003/diff/120001/components/security_interstitials/core/safe_browsing_loud_error_ui.h File components/security_interstitials/core/safe_browsing_loud_error_ui.h (right): https://codereview.chromium.org/2852333003/diff/120001/components/security_interstitials/core/safe_browsing_loud_error_ui.h#newcode45 components/security_interstitials/core/safe_browsing_loud_error_ui.h:45: // const GURL request_url_; please remove ...
3 years, 7 months ago (2017-05-08 20:50:11 UTC) #26
edwardjung
@michaelbai PTAL at the following WV safebrowsing changes: android_webview/browser/aw_safe_browsing_blocking_page.h android_webview/browser/aw_safe_browsing_blocking_page.cc Thanks. https://codereview.chromium.org/2852333003/diff/120001/components/security_interstitials/core/safe_browsing_loud_error_ui.h File components/security_interstitials/core/safe_browsing_loud_error_ui.h (right): ...
3 years, 7 months ago (2017-05-08 22:32:54 UTC) #30
edwardjung
@michaelbai ping!
3 years, 7 months ago (2017-05-10 20:26:58 UTC) #31
michaelbai
android_webview LGTM
3 years, 7 months ago (2017-05-10 20:38:20 UTC) #32
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/2852333003/180001
3 years, 7 months ago (2017-05-11 13:06:03 UTC) #43
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/433975)
3 years, 7 months ago (2017-05-11 13:14:12 UTC) #45
edwardjung
@nparker PTAL at: c/b/safe_browsing/* @jialiul for these files: components/safe_browsing/base_blocking_page.*
3 years, 7 months ago (2017-05-11 13:21:53 UTC) #47
Jialiu Lin
LGTM for both components/safe_browsing and chrome/browser/safe_browsing
3 years, 7 months ago (2017-05-11 17:08:03 UTC) #48
Nathan Parker
LGTM % small nits https://codereview.chromium.org/2852333003/diff/180001/components/security_interstitials/core/base_safe_browsing_error_ui.h File components/security_interstitials/core/base_safe_browsing_error_ui.h (right): https://codereview.chromium.org/2852333003/diff/180001/components/security_interstitials/core/base_safe_browsing_error_ui.h#newcode18 components/security_interstitials/core/base_safe_browsing_error_ui.h:18: // to determine what type ...
3 years, 7 months ago (2017-05-12 17:02:47 UTC) #51
edwardjung
Thanks Nathan. https://codereview.chromium.org/2852333003/diff/180001/components/security_interstitials/core/base_safe_browsing_error_ui.h File components/security_interstitials/core/base_safe_browsing_error_ui.h (right): https://codereview.chromium.org/2852333003/diff/180001/components/security_interstitials/core/base_safe_browsing_error_ui.h#newcode18 components/security_interstitials/core/base_safe_browsing_error_ui.h:18: // to determine what type of error ...
3 years, 7 months ago (2017-05-12 17:45:54 UTC) #52
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/2852333003/220001
3 years, 7 months ago (2017-05-12 23:02:59 UTC) #63
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 23:13:45 UTC) #66
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/d7395fb0478f05e183d9aa649ef7...

Powered by Google App Engine
This is Rietveld 408576698