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

Issue 1727033003: v4_update_protocol_manager: Basic implementation with TODOs (Closed)

Created:
4 years, 10 months ago by vakh (use Gerrit instead)
Modified:
4 years, 9 months ago
CC:
asvitkine+watch_chromium.org, awoz, chromium-reviews, kcarattini
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

v4_update_protocol_manager: Basic implementation with TODOs BUG=543161 Committed: https://crrev.com/ddcb01e6116caefe5b89c589455df887ba18b1cd Cr-Commit-Position: refs/heads/master@{#383433}

Patch Set 1 #

Patch Set 2 : Fix some GN dependencies #

Patch Set 3 : Delete some objects allocated for tests #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : Fix comment. #

Total comments: 32

Patch Set 6 : Incorporate review feedback. #

Patch Set 7 : Fix comment && git fetch && git rebase #

Patch Set 8 : Use scoped_ptrs instead of naked pointers for better memory management. #

Patch Set 9 : Use struct objects in unordered_map and unordered_set #

Total comments: 10

Patch Set 10 : git fetch && git rebase #

Patch Set 11 : Incorporate review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+815 lines, -65 lines) Patch
M components/components_tests.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing_db.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/safe_browsing_db/BUILD.gn View 1 7 chunks +33 lines, -12 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager.h View 1 2 3 4 5 1 chunk +0 lines, -30 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager.cc View 1 2 3 4 5 5 chunks +13 lines, -12 lines 0 comments Download
M components/safe_browsing_db/v4_protocol_manager_util.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +57 lines, -1 line 0 comments Download
M components/safe_browsing_db/v4_protocol_manager_util.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +19 lines, -0 lines 0 comments Download
A components/safe_browsing_db/v4_update_protocol_manager.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +178 lines, -0 lines 0 comments Download
A components/safe_browsing_db/v4_update_protocol_manager.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +277 lines, -0 lines 0 comments Download
A components/safe_browsing_db/v4_update_protocol_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +199 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 5 chunks +36 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (6 generated)
vakh (use Gerrit instead)
I'm having a number of patch issues with the original CL so please review this ...
4 years, 10 months ago (2016-02-24 11:03:20 UTC) #2
vakh (use Gerrit instead)
Fix some GN dependencies
4 years, 10 months ago (2016-02-24 17:46:46 UTC) #3
vakh (use Gerrit instead)
Delete some objects allocated for tests
4 years, 10 months ago (2016-02-24 19:21:36 UTC) #4
kcarattini
https://codereview.chromium.org/1727033003/diff/40001/components/safe_browsing_db/v4_update_protocol_manager.cc File components/safe_browsing_db/v4_update_protocol_manager.cc (right): https://codereview.chromium.org/1727033003/diff/40001/components/safe_browsing_db/v4_update_protocol_manager.cc#newcode199 components/safe_browsing_db/v4_update_protocol_manager.cc:199: // proceed with the request. If not, we are ...
4 years, 9 months ago (2016-03-17 03:05:04 UTC) #6
vakh (use Gerrit instead)
Rebase
4 years, 9 months ago (2016-03-21 20:00:28 UTC) #7
vakh (use Gerrit instead)
Fix comment.
4 years, 9 months ago (2016-03-21 20:35:04 UTC) #8
vakh (use Gerrit instead)
https://codereview.chromium.org/1727033003/diff/40001/components/safe_browsing_db/v4_update_protocol_manager.cc File components/safe_browsing_db/v4_update_protocol_manager.cc (right): https://codereview.chromium.org/1727033003/diff/40001/components/safe_browsing_db/v4_update_protocol_manager.cc#newcode199 components/safe_browsing_db/v4_update_protocol_manager.cc:199: // proceed with the request. If not, we are ...
4 years, 9 months ago (2016-03-21 21:35:33 UTC) #9
vakh (use Gerrit instead)
ping.
4 years, 9 months ago (2016-03-22 16:43:43 UTC) #10
vakh (use Gerrit instead)
blundell@chromium.org: Please review changes in components/safe_browsing_db.gypi holte@chromium.org: Please review changes in tools/metrics/histograms/histograms.xml
4 years, 9 months ago (2016-03-22 16:46:00 UTC) #12
blundell
Nathan's LG should be enough here.
4 years, 9 months ago (2016-03-22 16:49:51 UTC) #13
Nathan Parker
Overall looks great to me. Mostly little comments. https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_protocol_manager_util.h File components/safe_browsing_db/v4_protocol_manager_util.h (right): https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_protocol_manager_util.h#newcode48 components/safe_browsing_db/v4_protocol_manager_util.h:48: enum ...
4 years, 9 months ago (2016-03-22 23:57:55 UTC) #14
Steven Holte
histograms lgtm
4 years, 9 months ago (2016-03-23 18:33:11 UTC) #15
vakh (use Gerrit instead)
Incorporate review feedback.
4 years, 9 months ago (2016-03-24 22:08:46 UTC) #16
vakh (use Gerrit instead)
PTAL. https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_protocol_manager_util.h File components/safe_browsing_db/v4_protocol_manager_util.h (right): https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_protocol_manager_util.h#newcode48 components/safe_browsing_db/v4_protocol_manager_util.h:48: enum OperationResultType { On 2016/03/22 23:57:54, Nathan Parker ...
4 years, 9 months ago (2016-03-24 22:34:25 UTC) #17
vakh (use Gerrit instead)
Fix comment && git fetch && git rebase
4 years, 9 months ago (2016-03-24 22:34:31 UTC) #18
Nathan Parker
https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_update_protocol_manager.cc File components/safe_browsing_db/v4_update_protocol_manager.cc (right): https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_update_protocol_manager.cc#newcode160 components/safe_browsing_db/v4_update_protocol_manager.cc:160: next_update_time_ = On 2016/03/24 22:34:24, vakh wrote: > On ...
4 years, 9 months ago (2016-03-24 22:48:05 UTC) #19
vakh (use Gerrit instead)
Use scoped_ptrs instead of naked pointers for better memory management.
4 years, 9 months ago (2016-03-25 02:20:18 UTC) #20
vakh (use Gerrit instead)
https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_update_protocol_manager.cc File components/safe_browsing_db/v4_update_protocol_manager.cc (right): https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_update_protocol_manager.cc#newcode160 components/safe_browsing_db/v4_update_protocol_manager.cc:160: next_update_time_ = On 2016/03/24 22:48:05, Nathan Parker wrote: > ...
4 years, 9 months ago (2016-03-25 02:42:37 UTC) #21
Nathan Parker
https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_update_protocol_manager.h File components/safe_browsing_db/v4_update_protocol_manager.h (right): https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_update_protocol_manager.h#newcode80 components/safe_browsing_db/v4_update_protocol_manager.h:80: const base::hash_set<const UpdateListIdentifier*>& lists_to_update, On 2016/03/25 02:42:37, vakh wrote: ...
4 years, 9 months ago (2016-03-25 15:53:18 UTC) #22
vakh (use Gerrit instead)
Use struct objects in unordered_map and unordered_set
4 years, 9 months ago (2016-03-25 22:25:58 UTC) #23
vakh (use Gerrit instead)
Thanks for the review. PTAL. https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_update_protocol_manager.h File components/safe_browsing_db/v4_update_protocol_manager.h (right): https://codereview.chromium.org/1727033003/diff/80001/components/safe_browsing_db/v4_update_protocol_manager.h#newcode80 components/safe_browsing_db/v4_update_protocol_manager.h:80: const base::hash_set<const UpdateListIdentifier*>& lists_to_update, ...
4 years, 9 months ago (2016-03-25 22:51:47 UTC) #24
Nathan Parker
lgtm Looks great! A few small fixes and otherwise LGTM. https://codereview.chromium.org/1727033003/diff/150001/components/safe_browsing_db/v4_protocol_manager_util.h File components/safe_browsing_db/v4_protocol_manager_util.h (right): https://codereview.chromium.org/1727033003/diff/150001/components/safe_browsing_db/v4_protocol_manager_util.h#newcode44 ...
4 years, 9 months ago (2016-03-25 23:51:01 UTC) #25
vakh (use Gerrit instead)
git fetch && git rebase
4 years, 9 months ago (2016-03-26 00:03:35 UTC) #26
vakh (use Gerrit instead)
Incorporate review feedback.
4 years, 9 months ago (2016-03-26 00:05:38 UTC) #27
vakh (use Gerrit instead)
https://codereview.chromium.org/1727033003/diff/150001/components/safe_browsing_db/v4_protocol_manager_util.h File components/safe_browsing_db/v4_protocol_manager_util.h (right): https://codereview.chromium.org/1727033003/diff/150001/components/safe_browsing_db/v4_protocol_manager_util.h#newcode44 components/safe_browsing_db/v4_protocol_manager_util.h:44: return platform_type == other.platform_type && On 2016/03/25 23:51:01, Nathan ...
4 years, 9 months ago (2016-03-26 00:06:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1727033003/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1727033003/190001
4 years, 9 months ago (2016-03-26 00:08:59 UTC) #31
commit-bot: I haz the power
Committed patchset #11 (id:190001)
4 years, 9 months ago (2016-03-26 01:16:04 UTC) #32
commit-bot: I haz the power
4 years, 9 months ago (2016-03-26 01:17:04 UTC) #34
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/ddcb01e6116caefe5b89c589455df887ba18b1cd
Cr-Commit-Position: refs/heads/master@{#383433}

Powered by Google App Engine
This is Rietveld 408576698