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

Issue 2784253004: Componentize safe_browsing: decouple threat_details* from the chrome/ layer. (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: decouple threat_details* from the chrome/ layer. Decouple chrome/browser/safe_browsing/threat_details* from the dependency on the chrome/ layer. Also update the relevant tests. This is in preparation for moving the reporting code to the components/safe_browsing/.. to be usable by Android WebView. Design doc: https://goo.gl/8zVufq BUG=700351, 688629 Review-Url: https://codereview.chromium.org/2784253004 Cr-Commit-Position: refs/heads/master@{#463276} Committed: https://chromium.googlesource.com/chromium/src/+/351fb5afeafd16e28c65cae7dfbe9b13d27f2786

Patch Set 1 #

Patch Set 2 : decouple from chrome/ #

Patch Set 3 : no-squash #

Patch Set 4 : rebase wrt crrev.com/2796123003 #

Patch Set 5 : fix compile for browser tests #

Total comments: 2

Patch Set 6 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -59 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details.h View 1 2 3 4 5 5 chunks +21 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details.cc View 1 2 3 4 5 4 chunks +18 lines, -16 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_cache.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/threat_details_cache.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_unittest.cc View 1 2 3 4 5 15 chunks +30 lines, -25 lines 0 comments Download

Messages

Total messages: 35 (30 generated)
timvolodine
+ jialiu@: more refactoring/cleanup, please take a look, thanks! + cc:nparker@
3 years, 8 months ago (2017-04-07 18:23:01 UTC) #23
Jialiu Lin
LGTM. Thanks! https://codereview.chromium.org/2784253004/diff/80001/chrome/browser/safe_browsing/threat_details.h File chrome/browser/safe_browsing/threat_details.h (right): https://codereview.chromium.org/2784253004/diff/80001/chrome/browser/safe_browsing/threat_details.h#newcode23 chrome/browser/safe_browsing/threat_details.h:23: #include "components/safe_browsing/base_ui_manager.h" nit: Maybe use a forward ...
3 years, 8 months ago (2017-04-07 18:42:05 UTC) #24
timvolodine
Thanks for the review Jialiu! https://codereview.chromium.org/2784253004/diff/80001/chrome/browser/safe_browsing/threat_details.h File chrome/browser/safe_browsing/threat_details.h (right): https://codereview.chromium.org/2784253004/diff/80001/chrome/browser/safe_browsing/threat_details.h#newcode23 chrome/browser/safe_browsing/threat_details.h:23: #include "components/safe_browsing/base_ui_manager.h" On 2017/04/07 ...
3 years, 8 months ago (2017-04-10 15:02:55 UTC) #29
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/2784253004/100001
3 years, 8 months ago (2017-04-10 15:07:11 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 15:45:39 UTC) #35
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/351fb5afeafd16e28c65cae7dfbe...

Powered by Google App Engine
This is Rietveld 408576698