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

Issue 2540563002: Move SafeBrowsingUIManager::UnsafeResource to security_interstitials namespace (Closed)

Created:
4 years ago by Jialiu Lin
Modified:
4 years ago
CC:
blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, grt+watch_chromium.org, loading-reviews_chromium.org, mmenke, Randy Smith (Not in Mondays), sdefresne+watchlist_chromium.org, tbansal+watch-data-reduction-proxy_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move SafeBrowsingUIManager::UnsafeResource to security_interstitials component. UnsafeResource is used in creating/showing SB interstitial, thus this is a preparation step of componentizing SB interstitial. BUG=666100 Committed: https://crrev.com/792a666e12699e4e19e7e134e31759808fd0b6d0 Cr-Commit-Position: refs/heads/master@{#436136}

Patch Set 1 #

Patch Set 2 : remove deps, sources for ios #

Total comments: 4

Patch Set 3 : move UnsafeResource to content folder #

Patch Set 4 : revert owner file #

Total comments: 6

Patch Set 5 : no need to exclude ios #

Total comments: 4

Patch Set 6 : meacer's comments #

Patch Set 7 : make bots happy #

Patch Set 8 : rebase update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -162 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/loader/data_reduction_proxy_resource_throttle_android.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/loader/data_reduction_proxy_resource_throttle_android.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/loader/safe_browsing_resource_throttle.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/loader/safe_browsing_resource_throttle.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/threat_details.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/threat_details.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/threat_details_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/ui_manager.h View 1 2 2 chunks +2 lines, -48 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 3 chunks +2 lines, -58 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager_unittest.cc View 17 chunks +29 lines, -29 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui.cc View 1 chunk +1 line, -1 line 0 comments Download
A components/security_interstitials/content/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
A components/security_interstitials/content/DEPS View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A components/security_interstitials/content/unsafe_resource.h View 1 2 6 1 chunk +74 lines, -0 lines 0 comments Download
A components/security_interstitials/content/unsafe_resource.cc View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 62 (42 generated)
Jialiu Lin
Hi naprker@, meacer@, estark@ Please take a look at this refactoring CL. No logic change, ...
4 years ago (2016-11-29 20:56:11 UTC) #22
estark
Is UnsafeResource allowed to live in the component's core directory, given that it depends on ...
4 years ago (2016-11-29 22:04:47 UTC) #23
estark
Looks reasonable to me, modulo two questions: 1. My previous question about whether this code ...
4 years ago (2016-11-29 22:18:30 UTC) #24
Jialiu Lin
On 2016/11/29 at 22:18:30, estark wrote: > Looks reasonable to me, modulo two questions: > ...
4 years ago (2016-11-30 23:03:53 UTC) #27
Jialiu Lin
https://codereview.chromium.org/2540563002/diff/80001/components/security_interstitials/OWNERS File components/security_interstitials/OWNERS (right): https://codereview.chromium.org/2540563002/diff/80001/components/security_interstitials/OWNERS#newcode7 components/security_interstitials/OWNERS:7: jialiul@chromium.org On 2016/11/29 at 22:18:30, estark wrote: > nit: ...
4 years ago (2016-11-30 23:04:00 UTC) #28
estark
On 2016/11/30 23:03:53, Jialiu Lin wrote: > On 2016/11/29 at 22:18:30, estark wrote: > > ...
4 years ago (2016-12-01 00:29:27 UTC) #29
estark
lgtm with a few nits, thanks! https://codereview.chromium.org/2540563002/diff/120001/components/security_interstitials/DEPS File components/security_interstitials/DEPS (right): https://codereview.chromium.org/2540563002/diff/120001/components/security_interstitials/DEPS#newcode10 components/security_interstitials/DEPS:10: "+content/public/browser", content DEPS ...
4 years ago (2016-12-01 00:29:56 UTC) #30
meacer
Lgtm https://codereview.chromium.org/2540563002/diff/160001/components/security_interstitials/content/unsafe_resource.cc File components/security_interstitials/content/unsafe_resource.cc (right): https://codereview.chromium.org/2540563002/diff/160001/components/security_interstitials/content/unsafe_resource.cc#newcode36 components/security_interstitials/content/unsafe_resource.cc:36: UnsafeResource::~UnsafeResource() { } nit: extra space between braces ...
4 years ago (2016-12-01 00:55:08 UTC) #32
Jialiu Lin
Thanks estark@! + sgurun@ for c/b/loader/data_reduction_proxy_resource_throttle_android/* + csharrison@ for other files in c/b/loader/ https://codereview.chromium.org/2540563002/diff/120001/components/security_interstitials/DEPS File ...
4 years ago (2016-12-01 00:55:10 UTC) #34
Jialiu Lin
Thanks, meacer@! +avi@ because of deps change '+content/public/browser' in components/security_interstitial/content/DEPS https://codereview.chromium.org/2540563002/diff/160001/components/security_interstitials/content/unsafe_resource.cc File components/security_interstitials/content/unsafe_resource.cc (right): https://codereview.chromium.org/2540563002/diff/160001/components/security_interstitials/content/unsafe_resource.cc#newcode36 ...
4 years ago (2016-12-01 01:04:38 UTC) #38
sgurun-gerrit only
On 2016/12/01 01:04:38, Jialiu Lin wrote: > Thanks, meacer@! > > +avi@ because of deps ...
4 years ago (2016-12-01 01:47:28 UTC) #39
Avi (use Gerrit)
On 2016/12/01 01:04:38, Jialiu Lin wrote: > +avi@ because of deps change '+content/public/browser' in > ...
4 years ago (2016-12-01 15:57:06 UTC) #40
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/2540563002/180001
4 years ago (2016-12-02 17:19:30 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/317519)
4 years ago (2016-12-02 17:26:30 UTC) #45
Charlie Harrison
LGTM sorry for the delay, missed this one.
4 years ago (2016-12-02 21:58:09 UTC) #46
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/2540563002/200001
4 years ago (2016-12-02 23:31:10 UTC) #53
commit-bot: I haz the power
Failed to apply patch for chrome/browser/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-02 23:39:14 UTC) #55
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/2540563002/220001
4 years ago (2016-12-03 00:28:10 UTC) #58
commit-bot: I haz the power
Committed patchset #8 (id:220001)
4 years ago (2016-12-03 01:44:49 UTC) #60
commit-bot: I haz the power
4 years ago (2016-12-03 01:47:27 UTC) #62
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/792a666e12699e4e19e7e134e31759808fd0b6d0
Cr-Commit-Position: refs/heads/master@{#436136}

Powered by Google App Engine
This is Rietveld 408576698