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

Issue 1624723002: Move remote_db_manager into the safe_browsing_db component. (Closed)

Created:
4 years, 11 months ago by vakh (use Gerrit instead)
Modified:
4 years, 10 months ago
CC:
chromium-reviews, droger+watchlist_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org, oshima+watch_chromium.org, blundell+watchlist_chromium.org, davemoore+watch_chromium.org, Scott Hess - ex-Googler
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move remote_db_manager into the safe_browsing_db component. This reverts commit 2b17e4a37d9c71a1cafdb77688fe344a5034341c. Original CL: https://codereview.chromium.org/1579403002/ Revert CL: https://codereview.chromium.org/1620813005/ TBR=jochen@chromium.org,blundell@chromium.org BUG=543161 Committed: https://crrev.com/27f7e227bffc205b913237ab3a080210aadf5a1b Cr-Commit-Position: refs/heads/master@{#373073}

Patch Set 1 : git revert 2b17e4a and upload #

Patch Set 2 : Initialize the pointer to nullptr and check null before using. #

Total comments: 1

Patch Set 3 : return Error if matches is null and git cl format #

Patch Set 4 : fetch, rebase, format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -983 lines) Patch
M chrome/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/android/chrome_main_delegate_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/BUILD.gn View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/BUILD.gn View 1 chunk +0 lines, -7 lines 0 comments Download
D chrome/browser/safe_browsing/metadata.proto View 1 chunk +0 lines, -23 lines 0 comments Download
D chrome/browser/safe_browsing/remote_database_manager.h View 1 chunk +0 lines, -80 lines 0 comments Download
D chrome/browser/safe_browsing/remote_database_manager.cc View 1 chunk +0 lines, -285 lines 0 comments Download
D chrome/browser/safe_browsing/remote_database_manager_unittest.cc View 1 chunk +0 lines, -103 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler.h View 1 chunk +0 lines, -43 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler.cc View 1 chunk +0 lines, -21 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler_unittest.cc View 1 chunk +0 lines, -123 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler_util.h View 1 chunk +0 lines, -58 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler_util.cc View 1 chunk +0 lines, -167 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_android.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 chunks +2 lines, -20 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 2 chunks +1 line, -7 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M components/safe_browsing_db.gypi View 3 chunks +53 lines, -2 lines 0 comments Download
M components/safe_browsing_db/BUILD.gn View 4 chunks +85 lines, -1 line 0 comments Download
M components/safe_browsing_db/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M components/safe_browsing_db/hit_report.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/safe_browsing_db/metadata.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/safe_browsing_db/remote_database_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/safe_browsing_db/remote_database_manager.cc View 4 chunks +7 lines, -6 lines 0 comments Download
A + components/safe_browsing_db/remote_database_manager_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler.h View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler_util.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler_util.cc View 1 2 5 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
vakh (use Gerrit instead)
Initialize the pointer to nullptr and check null before using.
4 years, 11 months ago (2016-01-22 22:30:09 UTC) #1
vakh (use Gerrit instead)
nparker@chromium.org, blundell@chromium.org: Please review changes in: components/... jochen@chromium.org: Please review changes in chrome/... shess@chromium.org: FYI, ...
4 years, 11 months ago (2016-01-22 22:36:34 UTC) #3
vakh (use Gerrit instead)
4 years, 11 months ago (2016-01-22 22:36:52 UTC) #5
Nathan Parker
https://codereview.chromium.org/1624723002/diff/20001/components/safe_browsing_db/safe_browsing_api_handler_util.cc File components/safe_browsing_db/safe_browsing_api_handler_util.cc (right): https://codereview.chromium.org/1624723002/diff/20001/components/safe_browsing_db/safe_browsing_api_handler_util.cc#newcode138 components/safe_browsing_db/safe_browsing_api_handler_util.cc:138: if (matches) { How about instead adding a "|| ...
4 years, 11 months ago (2016-01-22 22:46:20 UTC) #6
blundell
On 2016/01/22 22:46:20, nparker wrote: > https://codereview.chromium.org/1624723002/diff/20001/components/safe_browsing_db/safe_browsing_api_handler_util.cc > File components/safe_browsing_db/safe_browsing_api_handler_util.cc (right): > > https://codereview.chromium.org/1624723002/diff/20001/components/safe_browsing_db/safe_browsing_api_handler_util.cc#newcode138 > ...
4 years, 11 months ago (2016-01-25 08:58:18 UTC) #7
vakh (use Gerrit instead)
git cl format
4 years, 11 months ago (2016-01-26 18:37:45 UTC) #8
vakh (use Gerrit instead)
On 2016/01/25 08:58:18, blundell wrote: > On 2016/01/22 22:46:20, nparker wrote: > > > https://codereview.chromium.org/1624723002/diff/20001/components/safe_browsing_db/safe_browsing_api_handler_util.cc ...
4 years, 11 months ago (2016-01-26 19:58:09 UTC) #9
Nathan Parker
lgtm
4 years, 10 months ago (2016-01-29 19:39:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1624723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1624723002/40001
4 years, 10 months ago (2016-02-02 21:43:09 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/87784) chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 10 months ago (2016-02-02 21:52:11 UTC) #16
vakh (use Gerrit instead)
fetch, rebase, format
4 years, 10 months ago (2016-02-02 21:59:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1624723002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1624723002/60001
4 years, 10 months ago (2016-02-02 23:19:16 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-02 23:45:50 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 23:46:44 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/27f7e227bffc205b913237ab3a080210aadf5a1b
Cr-Commit-Position: refs/heads/master@{#373073}

Powered by Google App Engine
This is Rietveld 408576698