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 2103693002: SafeBrowsing PVer4: Send mutable response to the database and the stores (Closed)

Created:
4 years, 5 months ago by vakh (use Gerrit instead)
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@02_ReadFromDisk
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SafeBrowsing PVer4: Send mutable response to the database and the stores V4Store now gets a unique pointer to a ListUpdateResponse, which it can modify. It swaps this ListUpdateResponse proto into the V4FileFormat proto before the V4FileFormat proto is written to disk. BUG=543161 Committed: https://crrev.com/ad9b4f4a3c1e9606e9964b5c28951e7b5f6753a6 Cr-Commit-Position: refs/heads/master@{#402938}

Patch Set 1 #

Total comments: 30

Patch Set 2 : git pull #

Total comments: 4

Patch Set 3 : shess@ and nparer@ feedback #

Patch Set 4 : git pull #

Patch Set 5 : Minor: Add the explicit keyword for UpdateListIdentifier constructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -83 lines) Patch
M components/safe_browsing_db/v4_database.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/safe_browsing_db/v4_database.cc View 1 2 3 chunks +9 lines, -6 lines 0 comments Download
M components/safe_browsing_db/v4_database_unittest.cc View 1 2 3 4 4 chunks +19 lines, -16 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M components/safe_browsing_db/v4_protocol_manager_util.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M components/safe_browsing_db/v4_store.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/safe_browsing_db/v4_store.cc View 1 2 3 chunks +18 lines, -15 lines 0 comments Download
M components/safe_browsing_db/v4_store_unittest.cc View 1 2 3 2 chunks +16 lines, -15 lines 0 comments Download
M components/safe_browsing_db/v4_update_protocol_manager.h View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M components/safe_browsing_db/v4_update_protocol_manager.cc View 1 2 3 4 6 chunks +13 lines, -10 lines 0 comments Download
M components/safe_browsing_db/v4_update_protocol_manager_unittest.cc View 1 2 3 4 1 chunk +10 lines, -10 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
Scott Hess - ex-Googler
https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc#newcode108 components/safe_browsing_db/v4_database.cc:108: for (std::unique_ptr<ListUpdateResponse>& response : I'm not entirely comfortable with ...
4 years, 5 months ago (2016-06-28 03:58:44 UTC) #3
vakh (use Gerrit instead)
git pull
4 years, 5 months ago (2016-06-28 07:16:10 UTC) #4
Nathan Parker
https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc#newcode108 components/safe_browsing_db/v4_database.cc:108: for (std::unique_ptr<ListUpdateResponse>& response : On 2016/06/28 03:58:43, Scott Hess ...
4 years, 5 months ago (2016-06-28 19:00:38 UTC) #5
vakh (use Gerrit instead)
shess@ and nparer@ feedback
4 years, 5 months ago (2016-06-28 21:33:38 UTC) #6
vakh (use Gerrit instead)
Responded to all the comments (mostly with "Done"). PTAL. https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc#newcode108 components/safe_browsing_db/v4_database.cc:108: ...
4 years, 5 months ago (2016-06-28 21:34:14 UTC) #7
vakh (use Gerrit instead)
https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_protocol_manager_util.h File components/safe_browsing_db/v4_protocol_manager_util.h (right): https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_protocol_manager_util.h#newcode61 components/safe_browsing_db/v4_protocol_manager_util.h:61: UpdateListIdentifier(const ListUpdateResponse*); On 2016/06/28 21:34:14, vakh wrote: > On ...
4 years, 5 months ago (2016-06-28 21:59:48 UTC) #8
Scott Hess - ex-Googler
LGTM. Your call as to whether any suggestions below should be followed. The explicit one ...
4 years, 5 months ago (2016-06-28 22:22:25 UTC) #9
Nathan Parker
lgtm owner's stamp
4 years, 5 months ago (2016-06-28 22:37:33 UTC) #10
vakh (use Gerrit instead)
git pull
4 years, 5 months ago (2016-06-28 22:51:48 UTC) #11
vakh (use Gerrit instead)
Minor: Add the explicit keyword for UpdateListIdentifier constructor
4 years, 5 months ago (2016-06-29 19:48:00 UTC) #12
vakh (use Gerrit instead)
https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc#newcode108 components/safe_browsing_db/v4_database.cc:108: for (std::unique_ptr<ListUpdateResponse>& response : On 2016/06/28 at 22:22:25, Scott ...
4 years, 5 months ago (2016-06-29 19:58:52 UTC) #13
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/2103693002/80001
4 years, 5 months ago (2016-06-29 20:02:49 UTC) #17
Scott Hess - ex-Googler
still lgtm https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2103693002/diff/1/components/safe_browsing_db/v4_database.cc#newcode108 components/safe_browsing_db/v4_database.cc:108: for (std::unique_ptr<ListUpdateResponse>& response : On 2016/06/29 19:58:52, ...
4 years, 5 months ago (2016-06-29 20:15:58 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-06-29 21:37:34 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 21:40:29 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ad9b4f4a3c1e9606e9964b5c28951e7b5f6753a6
Cr-Commit-Position: refs/heads/master@{#402938}

Powered by Google App Engine
This is Rietveld 408576698