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

Issue 2796123003: Componentize safe_browsing: factor out chrome/ deps in ThreatDetailsRedirectsCollector. (Closed)

Created:
3 years, 8 months ago by timvolodine
Modified:
3 years, 8 months ago
Reviewers:
Jialiu Lin
CC:
chromium-reviews, grt+watch_chromium.org, Nathan Parker, timvolodine, vakh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize safe_browsing: factor out chrome/ deps in ThreatDetailsRedirectsCollector. In preparation for moving browser side reporting code to the safe_browsing component perform some refactoring to decrease dependency on the chrome/ layer. In particular for threat_details_history.{h,cc}: - factor out Profile, - pass HistoryService in constructor, - use HistoryServiceObserver instead of NotificationObserver and chrome::NOTIFICATION_PROFILE_DESTROYED. design doc: https://goo.gl/8zVufq BUG=700351, 688629 Review-Url: https://codereview.chromium.org/2796123003 Cr-Commit-Position: refs/heads/master@{#462478} Committed: https://chromium.googlesource.com/chromium/src/+/5d734ba20ca41dd77486aee0bdcb8ddf34165053

Patch Set 1 #

Patch Set 2 : fix crashes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -43 lines) Patch
M chrome/browser/safe_browsing/threat_details.cc View 1 2 chunks +9 lines, -2 lines 2 comments Download
M chrome/browser/safe_browsing/threat_details_history.h View 5 chunks +11 lines, -13 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_history.cc View 5 chunks +19 lines, -28 lines 0 comments Download

Messages

Total messages: 28 (22 generated)
timvolodine
+ jialiu@: please take a look. + cc:nparker@ FYI issues on mac_chromium_rel_ng bot seem to ...
3 years, 8 months ago (2017-04-05 17:44:27 UTC) #16
Jialiu Lin
LGTM. :-) Thank you timvolodine@! https://codereview.chromium.org/2796123003/diff/20001/chrome/browser/safe_browsing/threat_details.cc File chrome/browser/safe_browsing/threat_details.cc (right): https://codereview.chromium.org/2796123003/diff/20001/chrome/browser/safe_browsing/threat_details.cc#newcode188 chrome/browser/safe_browsing/threat_details.cc:188: redirects_collector_ = new ThreatDetailsRedirectsCollector( ...
3 years, 8 months ago (2017-04-05 18:19:47 UTC) #17
timvolodine
Thanks for the review! https://codereview.chromium.org/2796123003/diff/20001/chrome/browser/safe_browsing/threat_details.cc File chrome/browser/safe_browsing/threat_details.cc (right): https://codereview.chromium.org/2796123003/diff/20001/chrome/browser/safe_browsing/threat_details.cc#newcode188 chrome/browser/safe_browsing/threat_details.cc:188: redirects_collector_ = new ThreatDetailsRedirectsCollector( On ...
3 years, 8 months ago (2017-04-06 14:15:23 UTC) #18
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/2796123003/20001
3 years, 8 months ago (2017-04-06 14:54:37 UTC) #21
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/2796123003/20001
3 years, 8 months ago (2017-04-06 15:06:04 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 15:19:25 UTC) #28
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5d734ba20ca41dd77486aee0bdcb...

Powered by Google App Engine
This is Rietveld 408576698