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

Issue 2605213002: componentize SafeBrowsingService (Closed)

Created:
3 years, 11 months ago by Nate Fischer
Modified:
3 years, 11 months ago
Reviewers:
Jialiu Lin, mmenke
CC:
blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

componentize SafeBrowsingService Create BaseSafeBrowsingService in the components layer and derive SafeBrowsingService from that. BUG=488675 Committed: https://crrev.com/e5f4a58871b512092e37080597014271bbb8fbc6 Cr-Commit-Position: refs/heads/master@{#441305}

Patch Set 1 #

Patch Set 2 : Fix compile error #

Patch Set 3 : Marking method as overriding #

Total comments: 13

Patch Set 4 : Removing some methods from base class and addressing comments #

Total comments: 9

Patch Set 5 : Change date to 2017, add explanatory comment about Local manager #

Patch Set 6 : Remove explicit return statements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -26 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 2 3 8 chunks +8 lines, -25 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M components/safe_browsing/BUILD.gn View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M components/safe_browsing/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A components/safe_browsing/base_safe_browsing_service.h View 1 2 3 4 1 chunk +104 lines, -0 lines 0 comments Download
A components/safe_browsing/base_safe_browsing_service.cc View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
Nate Fischer
Jialiu, Here's an initial version of the SafeBrowsingService refactor. Most of the methods are no-ops, ...
3 years, 11 months ago (2016-12-29 02:19:30 UTC) #4
Jialiu Lin
Looking good. See my initial comments. After all the try bots are happy, I'll take ...
3 years, 11 months ago (2016-12-29 17:41:37 UTC) #15
Nate Fischer
https://codereview.chromium.org/2605213002/diff/40001/chrome/browser/safe_browsing/safe_browsing_service.h File chrome/browser/safe_browsing/safe_browsing_service.h (left): https://codereview.chromium.org/2605213002/diff/40001/chrome/browser/safe_browsing/safe_browsing_service.h#oldcode282 chrome/browser/safe_browsing/safe_browsing_service.h:282: bool enabled_v4_only_; On 2016/12/29 at 17:41:37, Jialiu Lin wrote: ...
3 years, 11 months ago (2017-01-03 22:39:53 UTC) #16
Nate Fischer
+mmenke@ for adding +net/url_request to DEPS file
3 years, 11 months ago (2017-01-04 01:28:49 UTC) #22
mmenke
On 2017/01/04 01:28:49, Nate Fischer wrote: > +mmenke@ for adding +net/url_request to DEPS file DEPS ...
3 years, 11 months ago (2017-01-04 01:31:41 UTC) #23
Jialiu Lin
some nits. https://codereview.chromium.org/2605213002/diff/40001/components/safe_browsing/base_safe_browsing_service.cc File components/safe_browsing/base_safe_browsing_service.cc (right): https://codereview.chromium.org/2605213002/diff/40001/components/safe_browsing/base_safe_browsing_service.cc#newcode43 components/safe_browsing/base_safe_browsing_service.cc:43: // TODO(ntfschr): initialize ui_manager_ once CreateUIManager is ...
3 years, 11 months ago (2017-01-04 01:36:35 UTC) #24
Nate Fischer
https://codereview.chromium.org/2605213002/diff/60001/components/safe_browsing/base_safe_browsing_service.cc File components/safe_browsing/base_safe_browsing_service.cc (right): https://codereview.chromium.org/2605213002/diff/60001/components/safe_browsing/base_safe_browsing_service.cc#newcode1 components/safe_browsing/base_safe_browsing_service.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
3 years, 11 months ago (2017-01-04 01:46:00 UTC) #25
Jialiu Lin
https://codereview.chromium.org/2605213002/diff/60001/components/safe_browsing/base_safe_browsing_service.cc File components/safe_browsing/base_safe_browsing_service.cc (right): https://codereview.chromium.org/2605213002/diff/60001/components/safe_browsing/base_safe_browsing_service.cc#newcode79 components/safe_browsing/base_safe_browsing_service.cc:79: return; On 2017/01/04 01:45:59, Nate Fischer wrote: > On ...
3 years, 11 months ago (2017-01-04 01:51:28 UTC) #26
Jialiu Lin
lgtm
3 years, 11 months ago (2017-01-04 01:51:36 UTC) #27
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/2605213002/100001
3 years, 11 months ago (2017-01-04 01:57:53 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
3 years, 11 months ago (2017-01-04 03:00:44 UTC) #33
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/e5f4a58871b512092e37080597014271bbb8fbc6 Cr-Commit-Position: refs/heads/master@{#441305}
3 years, 11 months ago (2017-01-04 03:03:06 UTC) #35
Nate Fischer
3 years, 11 months ago (2017-01-06 22:58:16 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2615713008/ by ntfschr@chromium.org.

The reason for reverting is: We've decided to not componentize
SafeBrowsingService and instead manually create the DataBaseManager and
UIManager.

Powered by Google App Engine
This is Rietveld 408576698