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

Issue 2353413002: Store list information in ListInfo (was: StoreIdAndFIleName) (Closed)

Created:
4 years, 3 months ago by vakh (use Gerrit instead)
Modified:
4 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

1. Store list information in ListInfo (was: StoreIdAndFIleName). This includes the list identifier, list filename on disk, the SBThreatType for the list, and whether to fetch updates for this list. 2. Fixed potential leaks by inserting the client into pending_clients_ before calling GetFullHashes (based on shess@'s feedback in 2349603003) BUG=543161, 608075 Committed: https://crrev.com/ed61c9fcb2a0de50f04bbf62f9cab4de5db37a81 Cr-Commit-Position: refs/heads/master@{#420515}

Patch Set 1 #

Total comments: 4

Patch Set 2 : s/StoreIdAndFileName/ListInfo. Move SBThreatType into ListInfo. #

Total comments: 10

Patch Set 3 : nparker@ feedback #

Total comments: 2

Patch Set 4 : sort the members of ListInfo by member name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -169 lines) Patch
M chrome/browser/extensions/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M components/safe_browsing_db/BUILD.gn View 2 chunks +6 lines, -2 lines 0 comments Download
M components/safe_browsing_db/database_manager_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/safe_browsing_db/util.h View 1 chunk +1 line, -36 lines 0 comments Download
M components/safe_browsing_db/util.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/safe_browsing_db/v4_database.h View 1 2 3 4 chunks +27 lines, -15 lines 0 comments Download
M components/safe_browsing_db/v4_database.cc View 1 2 3 3 chunks +23 lines, -12 lines 0 comments Download
M components/safe_browsing_db/v4_database_unittest.cc View 1 2 3 13 chunks +18 lines, -16 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.h View 1 4 chunks +16 lines, -11 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.cc View 1 2 3 8 chunks +28 lines, -43 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager_unittest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M components/safe_browsing_db/v4_protocol_manager_util.h View 1 2 3 chunks +45 lines, -4 lines 0 comments Download
M components/safe_browsing_db/v4_protocol_manager_util.cc View 1 2 4 chunks +12 lines, -12 lines 0 comments Download
M components/safe_browsing_db/v4_update_protocol_manager.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 50 (28 generated)
vakh (use Gerrit instead)
4 years, 3 months ago (2016-09-21 17:42:54 UTC) #4
Nathan Parker
https://codereview.chromium.org/2353413002/diff/1/components/safe_browsing_db/v4_protocol_manager_util.cc File components/safe_browsing_db/v4_protocol_manager_util.cc (right): https://codereview.chromium.org/2353413002/diff/1/components/safe_browsing_db/v4_protocol_manager_util.cc#newcode130 components/safe_browsing_db/v4_protocol_manager_util.cc:130: threat_type_ == other.threat_type_; Why not compare SBThreatType as well? ...
4 years, 3 months ago (2016-09-21 19:02:58 UTC) #5
Scott Hess - ex-Googler
LGTM, except you need the CL description to say what you did, not be an ...
4 years, 3 months ago (2016-09-21 19:13:49 UTC) #6
vakh (use Gerrit instead)
s/StoreIdAndFileName/ListInfo. Move SBThreatType into ListInfo.
4 years, 3 months ago (2016-09-22 00:00:42 UTC) #9
vakh (use Gerrit instead)
Minor: Update comments
4 years, 3 months ago (2016-09-22 00:05:41 UTC) #12
vakh (use Gerrit instead)
On 2016/09/21 19:13:49, Scott Hess wrote: > LGTM, except you need the CL description to ...
4 years, 3 months ago (2016-09-22 00:10:25 UTC) #17
vakh (use Gerrit instead)
https://codereview.chromium.org/2353413002/diff/1/components/safe_browsing_db/v4_protocol_manager_util.cc File components/safe_browsing_db/v4_protocol_manager_util.cc (right): https://codereview.chromium.org/2353413002/diff/1/components/safe_browsing_db/v4_protocol_manager_util.cc#newcode130 components/safe_browsing_db/v4_protocol_manager_util.cc:130: threat_type_ == other.threat_type_; On 2016/09/21 19:02:57, Nathan Parker wrote: ...
4 years, 3 months ago (2016-09-22 00:10:36 UTC) #18
Nathan Parker
https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.cc#newcode200 components/safe_browsing_db/v4_database.cc:200: DCHECK(!fetch_updates_ || !filename_.empty()); DCHECK(fetch_update_ != filename_.empty()) https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h ...
4 years, 3 months ago (2016-09-22 18:35:13 UTC) #21
vakh (use Gerrit instead)
nparker@ feedback
4 years, 3 months ago (2016-09-22 18:50:53 UTC) #22
vakh (use Gerrit instead)
https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.cc#newcode200 components/safe_browsing_db/v4_database.cc:200: DCHECK(!fetch_updates_ || !filename_.empty()); On 2016/09/22 18:35:13, Nathan Parker wrote: ...
4 years, 3 months ago (2016-09-22 20:33:41 UTC) #25
Nathan Parker
lgtm Great! https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.cc#newcode200 components/safe_browsing_db/v4_database.cc:200: DCHECK(!fetch_updates_ || !filename_.empty()); On 2016/09/22 20:33:41, vakh ...
4 years, 3 months ago (2016-09-22 22:00:59 UTC) #28
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/2353413002/60001
4 years, 3 months ago (2016-09-22 22:04:04 UTC) #31
vakh (use Gerrit instead)
https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2353413002/diff/40001/components/safe_browsing_db/v4_database.cc#newcode200 components/safe_browsing_db/v4_database.cc:200: DCHECK(!fetch_updates_ || !filename_.empty()); On 2016/09/22 22:00:59, Nathan Parker wrote: ...
4 years, 3 months ago (2016-09-22 22:04:23 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/265128)
4 years, 3 months ago (2016-09-22 22:15:25 UTC) #34
vakh (use Gerrit instead)
benwells@chromium.org: Please review the changes in chrome/browser/extensions/BUILD.gn
4 years, 3 months ago (2016-09-22 22:23:42 UTC) #36
Scott Hess - ex-Googler
lgtm. WRT the CL description - I think you can inline more! If someone notices ...
4 years, 3 months ago (2016-09-22 23:11:29 UTC) #37
vakh (use Gerrit instead)
sort the members of ListInfo by member name
4 years, 3 months ago (2016-09-22 23:28:07 UTC) #39
vakh (use Gerrit instead)
https://codereview.chromium.org/2353413002/diff/60001/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h (right): https://codereview.chromium.org/2353413002/diff/60001/components/safe_browsing_db/v4_database.h#newcode60 components/safe_browsing_db/v4_database.h:60: bool fetch_updates_; On 2016/09/22 23:11:29, Scott Hess wrote: > ...
4 years, 3 months ago (2016-09-22 23:28:21 UTC) #41
benwells
lgtm
4 years, 3 months ago (2016-09-22 23:31:56 UTC) #43
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/2353413002/80001
4 years, 3 months ago (2016-09-22 23:34:47 UTC) #46
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-09-23 00:57:45 UTC) #48
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 01:00:22 UTC) #50
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ed61c9fcb2a0de50f04bbf62f9cab4de5db37a81
Cr-Commit-Position: refs/heads/master@{#420515}

Powered by Google App Engine
This is Rietveld 408576698