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

Issue 2151953003: PVer4: Drop hash prefixes based on the removals field in the response (Closed)

Created:
4 years, 5 months ago by vakh (use Gerrit instead)
Modified:
4 years, 5 months ago
Reviewers:
Nathan Parker, noé
CC:
chromium-reviews, Scott Hess - ex-Googler, woz
Base URL:
https://chromium.googlesource.com/chromium/src.git@02_iterators
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PVer4: Drop hash prefixes based on the removals field in the response received from the PVer4 service. BUG=543161 Committed: https://crrev.com/fe520540d21f308e949d986f74aee5e96d06c296 Cr-Commit-Position: refs/heads/master@{#406114}

Patch Set 1 #

Patch Set 2 : Use const& #

Total comments: 10

Patch Set 3 : git pull #

Patch Set 4 : nparker@ CR feedback #

Total comments: 6

Patch Set 5 : nparker@ CR feedback #

Total comments: 4

Patch Set 6 : Don't iterate over removals. Update removals comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -31 lines) Patch
M components/safe_browsing_db/v4_store.h View 1 2 3 4 5 3 chunks +18 lines, -2 lines 0 comments Download
M components/safe_browsing_db/v4_store.cc View 1 2 3 4 5 7 chunks +39 lines, -11 lines 0 comments Download
M components/safe_browsing_db/v4_store_unittest.cc View 1 2 3 7 chunks +177 lines, -18 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
vakh (use Gerrit instead)
nparker, noelutz: Please review the changes in *
4 years, 5 months ago (2016-07-15 03:35:39 UTC) #4
vakh (use Gerrit instead)
Use const&
4 years, 5 months ago (2016-07-15 07:48:22 UTC) #7
Nathan Parker
https://codereview.chromium.org/2151953003/diff/20001/components/safe_browsing_db/v4_store.cc File components/safe_browsing_db/v4_store.cc (right): https://codereview.chromium.org/2151953003/diff/20001/components/safe_browsing_db/v4_store.cc#newcode59 components/safe_browsing_db/v4_store.cc:59: using ::google::protobuf::int32; seems like this might conflict with an ...
4 years, 5 months ago (2016-07-15 16:49:38 UTC) #12
vakh (use Gerrit instead)
git pull
4 years, 5 months ago (2016-07-18 18:19:29 UTC) #13
vakh (use Gerrit instead)
nparker@ CR feedback
4 years, 5 months ago (2016-07-18 18:42:37 UTC) #16
vakh (use Gerrit instead)
Thanks for the feedback. PTAL. https://codereview.chromium.org/2151953003/diff/20001/components/safe_browsing_db/v4_store.cc File components/safe_browsing_db/v4_store.cc (right): https://codereview.chromium.org/2151953003/diff/20001/components/safe_browsing_db/v4_store.cc#newcode59 components/safe_browsing_db/v4_store.cc:59: using ::google::protobuf::int32; On 2016/07/15 ...
4 years, 5 months ago (2016-07-18 18:43:17 UTC) #18
Nathan Parker
https://codereview.chromium.org/2151953003/diff/60001/components/safe_browsing_db/v4_store.cc File components/safe_browsing_db/v4_store.cc (right): https://codereview.chromium.org/2151953003/diff/60001/components/safe_browsing_db/v4_store.cc#newcode118 components/safe_browsing_db/v4_store.cc:118: const RepeatedField<int32>* raw_removals = &empty_removals_; Does MergeUpdate() need this ...
4 years, 5 months ago (2016-07-18 19:54:35 UTC) #20
vakh (use Gerrit instead)
nparker@ CR feedback
4 years, 5 months ago (2016-07-18 19:57:52 UTC) #21
vakh (use Gerrit instead)
https://codereview.chromium.org/2151953003/diff/60001/components/safe_browsing_db/v4_store.cc File components/safe_browsing_db/v4_store.cc (right): https://codereview.chromium.org/2151953003/diff/60001/components/safe_browsing_db/v4_store.cc#newcode118 components/safe_browsing_db/v4_store.cc:118: const RepeatedField<int32>* raw_removals = &empty_removals_; On 2016/07/18 19:54:35, Nathan ...
4 years, 5 months ago (2016-07-18 19:58:30 UTC) #24
Nathan Parker
https://codereview.chromium.org/2151953003/diff/80001/components/safe_browsing_db/v4_store.cc File components/safe_browsing_db/v4_store.cc (right): https://codereview.chromium.org/2151953003/diff/80001/components/safe_browsing_db/v4_store.cc#newcode119 components/safe_browsing_db/v4_store.cc:119: for (const auto& removal : response->removals()) { This still ...
4 years, 5 months ago (2016-07-18 20:42:39 UTC) #25
vakh (use Gerrit instead)
Don't iterate over removals. Update removals comment.
4 years, 5 months ago (2016-07-18 20:51:22 UTC) #26
vakh (use Gerrit instead)
https://codereview.chromium.org/2151953003/diff/80001/components/safe_browsing_db/v4_store.cc File components/safe_browsing_db/v4_store.cc (right): https://codereview.chromium.org/2151953003/diff/80001/components/safe_browsing_db/v4_store.cc#newcode119 components/safe_browsing_db/v4_store.cc:119: for (const auto& removal : response->removals()) { On 2016/07/18 ...
4 years, 5 months ago (2016-07-18 20:54:13 UTC) #29
Nathan Parker
lgtm
4 years, 5 months ago (2016-07-18 21:23:20 UTC) #30
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/2151953003/100001
4 years, 5 months ago (2016-07-18 21:25:06 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-18 21:59:45 UTC) #34
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-18 22:00:15 UTC) #35
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 22:03:10 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fe520540d21f308e949d986f74aee5e96d06c296
Cr-Commit-Position: refs/heads/master@{#406114}

Powered by Google App Engine
This is Rietveld 408576698