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

Issue 1703413002: Move common PVer4 code into a V4ProtocolManagerUtil class. (Closed)

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

Description

Move common PVer4 code into a V4ProtocolManagerUtil class. BUG=543161 Committed: https://crrev.com/98a95013345caefc21dcd078f95967b67197ec26 Cr-Commit-Position: refs/heads/master@{#376921}

Patch Set 1 #

Patch Set 2 : Ignore: Move some tests from v4_get_hash_protocol_manager_unittest to v4_protocol_manager_unittest #

Patch Set 3 : Ignore: Move some tests from v4_get_hash_protocol_manager_unittest to v4_protocol_manager_unittest #

Patch Set 4 : Move some tests from v4_get_hash_protocol_manager_unittest to v4_protocol_manager_unittest #

Patch Set 5 : GetHashUrl -> GetRequestUrl #

Patch Set 6 : unit_tests depends on target :v4_protocol_manager_util #

Patch Set 7 : sync and fix compile #

Total comments: 12

Patch Set 8 : rebase #

Patch Set 9 : Minor changes. Incorporate CR feedack. #

Patch Set 10 : V4GetHashProtocolConfig->V4ProtocolConfig in remote_database_manager. #

Patch Set 11 : Pass config as pointer, instead of reference #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -255 lines) Patch
M chrome/browser/safe_browsing/local_database_manager.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/local_database_manager.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 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 2 3 4 5 6 7 2 chunks +31 lines, -16 lines 0 comments Download
M components/safe_browsing_db/database_manager.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M components/safe_browsing_db/database_manager.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M components/safe_browsing_db/remote_database_manager.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M components/safe_browsing_db/remote_database_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M components/safe_browsing_db/util.h View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M components/safe_browsing_db/util.cc View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager.h View 1 11 chunks +8 lines, -53 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager.cc View 1 2 3 4 5 6 7 8 8 chunks +13 lines, -81 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc View 1 2 chunks +1 line, -81 lines 0 comments Download
A components/safe_browsing_db/v4_protocol_manager_util.h View 1 2 3 4 5 6 7 8 1 chunk +79 lines, -0 lines 0 comments Download
A components/safe_browsing_db/v4_protocol_manager_util.cc View 1 2 3 4 1 chunk +86 lines, -0 lines 0 comments Download
A components/safe_browsing_db/v4_protocol_manager_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +122 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (7 generated)
vakh (use Gerrit instead)
4 years, 10 months ago (2016-02-18 02:58:23 UTC) #1
vakh (use Gerrit instead)
GetHashUrl -> GetRequestUrl
4 years, 10 months ago (2016-02-19 02:38:31 UTC) #2
vakh (use Gerrit instead)
unit_tests depends on target :v4_protocol_manager_util
4 years, 10 months ago (2016-02-19 02:45:23 UTC) #3
vakh (use Gerrit instead)
sync and fix compile
4 years, 10 months ago (2016-02-22 17:54:21 UTC) #4
vakh (use Gerrit instead)
4 years, 10 months ago (2016-02-22 17:58:48 UTC) #7
Nathan Parker
lgtm after comments are addressed, and Kendra has a look https://codereview.chromium.org/1703413002/diff/120001/components/safe_browsing_db/v4_protocol_manager_util.h File components/safe_browsing_db/v4_protocol_manager_util.h (right): https://codereview.chromium.org/1703413002/diff/120001/components/safe_browsing_db/v4_protocol_manager_util.h#newcode17 ...
4 years, 10 months ago (2016-02-22 22:39:32 UTC) #8
kcarattini
https://codereview.chromium.org/1703413002/diff/120001/components/safe_browsing_db/v4_protocol_manager_util.h File components/safe_browsing_db/v4_protocol_manager_util.h (right): https://codereview.chromium.org/1703413002/diff/120001/components/safe_browsing_db/v4_protocol_manager_util.h#newcode91 components/safe_browsing_db/v4_protocol_manager_util.h:91: static base::TimeDelta GetNextBackOffInterval(size_t* error_count, If this is specific to ...
4 years, 10 months ago (2016-02-23 00:49:13 UTC) #10
vakh (use Gerrit instead)
rebase
4 years, 10 months ago (2016-02-23 01:28:13 UTC) #11
vakh (use Gerrit instead)
Minor changes. Incorporate CR feedack.
4 years, 10 months ago (2016-02-23 01:29:18 UTC) #12
vakh (use Gerrit instead)
V4GetHashProtocolConfig->V4ProtocolConfig in remote_database_manager.
4 years, 10 months ago (2016-02-23 01:34:05 UTC) #13
vakh (use Gerrit instead)
Pass config as pointer, instead of reference
4 years, 10 months ago (2016-02-23 01:38:38 UTC) #14
vakh (use Gerrit instead)
Thanks for the review. PTAL. https://codereview.chromium.org/1703413002/diff/120001/components/safe_browsing_db/v4_protocol_manager_util.h File components/safe_browsing_db/v4_protocol_manager_util.h (right): https://codereview.chromium.org/1703413002/diff/120001/components/safe_browsing_db/v4_protocol_manager_util.h#newcode17 components/safe_browsing_db/v4_protocol_manager_util.h:17: namespace { On 2016/02/22 ...
4 years, 10 months ago (2016-02-23 01:39:36 UTC) #15
Nathan Parker
lgtm
4 years, 10 months ago (2016-02-23 02:01:56 UTC) #16
kcarattini
lgtm You should update the bug in the cl description.
4 years, 10 months ago (2016-02-23 02:28:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1703413002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1703413002/200001
4 years, 10 months ago (2016-02-23 02:36:39 UTC) #20
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 10 months ago (2016-02-23 04:14:24 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 04:16:28 UTC) #24
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/98a95013345caefc21dcd078f95967b67197ec26
Cr-Commit-Position: refs/heads/master@{#376921}

Powered by Google App Engine
This is Rietveld 408576698