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

Issue 2675063002: Browser tests for using the new SafeBrowsing protocol (v4) (Closed)

Created:
3 years, 10 months ago by vakh (use Gerrit instead)
Modified:
3 years, 10 months ago
CC:
chromium-reviews, grt+watch_chromium.org, vakh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Remove LOGs #

Patch Set 3 : Simplify V4DB creation in product code and tests #

Total comments: 12

Patch Set 4 : shess@'s review #

Total comments: 31

Patch Set 5 : nparker@'s review #

Patch Set 6 : rebase #

Patch Set 7 : rebase + fix failures after rebase #

Patch Set 8 : Nit: Add comments in tests #

Total comments: 8

Patch Set 9 : Use static raw pointer instead of static smart pointer #

Total comments: 1

Patch Set 10 : rebase #

Patch Set 11 : Use ANNOTATE_LEAKING_OBJECT_PTR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+472 lines, -98 lines) Patch
M chrome/browser/download/download_browsertest.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/loader/safe_browsing_resource_throttle.cc View 1 2 3 4 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 9 chunks +15 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 2 3 4 5 6 7 8 8 chunks +307 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/services_delegate_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/services_delegate_impl.cc View 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_stub.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/services_delegate_stub.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/test_safe_browsing_service.h View 1 2 3 4 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/test_safe_browsing_service.cc View 1 2 3 4 2 chunks +11 lines, -5 lines 0 comments Download
M components/safe_browsing_db/v4_database.h View 1 2 3 4 5 6 7 8 6 chunks +23 lines, -13 lines 0 comments Download
M components/safe_browsing_db/v4_database.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +42 lines, -8 lines 0 comments Download
M components/safe_browsing_db/v4_database_unittest.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M components/safe_browsing_db/v4_feature_list.h View 1 2 3 4 1 chunk +15 lines, -12 lines 0 comments Download
M components/safe_browsing_db/v4_feature_list.cc View 1 2 3 4 1 chunk +16 lines, -12 lines 0 comments Download
M components/safe_browsing_db/v4_get_hash_protocol_manager.h View 2 chunks +4 lines, -3 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -4 lines 0 comments Download
M components/safe_browsing_db/v4_store.h View 2 chunks +4 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 104 (71 generated)
vakh (use Gerrit instead)
Remove DCHECK from V4LDBM
3 years, 10 months ago (2017-02-04 02:36:02 UTC) #3
vakh (use Gerrit instead)
Fix Android build
3 years, 10 months ago (2017-02-04 03:38:32 UTC) #9
vakh (use Gerrit instead)
Remove LOGs
3 years, 10 months ago (2017-02-06 17:57:39 UTC) #18
vakh (use Gerrit instead)
Simplify V4DB creation in product code and tests
3 years, 10 months ago (2017-02-06 18:22:23 UTC) #21
vakh (use Gerrit instead)
https://codereview.chromium.org/2675063002/diff/80001/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2675063002/diff/80001/components/safe_browsing_db/v4_database.cc#newcode215 components/safe_browsing_db/v4_database.cc:215: LOG(ERROR) << "V4Database::GetStoresMatchingFullHash: store: " Please ignore. Removed in ...
3 years, 10 months ago (2017-02-06 18:25:08 UTC) #25
Scott Hess - ex-Googler
nit-picker's review... https://codereview.chromium.org/2675063002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h File chrome/browser/safe_browsing/safe_browsing_service.h (right): https://codereview.chromium.org/2675063002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h#newcode201 chrome/browser/safe_browsing/safe_browsing_service.h:201: bool use_v4_only = false); This feels like ...
3 years, 10 months ago (2017-02-06 22:46:36 UTC) #30
vakh (use Gerrit instead)
shess@'s review
3 years, 10 months ago (2017-02-06 23:29:20 UTC) #31
vakh (use Gerrit instead)
https://codereview.chromium.org/2675063002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h File chrome/browser/safe_browsing/safe_browsing_service.h (right): https://codereview.chromium.org/2675063002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h#newcode201 chrome/browser/safe_browsing/safe_browsing_service.h:201: bool use_v4_only = false); On 2017/02/06 22:46:35, Scott Hess ...
3 years, 10 months ago (2017-02-06 23:30:13 UTC) #33
Nathan Parker
Mostly nits about adding comments. https://codereview.chromium.org/2675063002/diff/100001/chrome/browser/safe_browsing/safe_browsing_service.cc File chrome/browser/safe_browsing/safe_browsing_service.cc (right): https://codereview.chromium.org/2675063002/diff/100001/chrome/browser/safe_browsing/safe_browsing_service.cc#newcode261 chrome/browser/safe_browsing/safe_browsing_service.cc:261: if (safe_browsing::V4FeatureList::IsV4OnlyEnabled()) { This ...
3 years, 10 months ago (2017-02-08 01:22:54 UTC) #38
vakh (use Gerrit instead)
nparker@'s review
3 years, 10 months ago (2017-02-08 17:41:27 UTC) #39
vakh (use Gerrit instead)
nparker@'s review
3 years, 10 months ago (2017-02-08 18:41:02 UTC) #44
vakh (use Gerrit instead)
nparker@'s review
3 years, 10 months ago (2017-02-08 21:27:49 UTC) #49
vakh (use Gerrit instead)
rebase
3 years, 10 months ago (2017-02-08 21:31:32 UTC) #52
vakh (use Gerrit instead)
rebase + fix failures after rebase
3 years, 10 months ago (2017-02-09 03:03:18 UTC) #57
vakh (use Gerrit instead)
Nit: Add comments in tests
3 years, 10 months ago (2017-02-09 03:30:18 UTC) #60
vakh (use Gerrit instead)
All comments addressed. PTAL. https://codereview.chromium.org/2675063002/diff/100001/chrome/browser/safe_browsing/safe_browsing_service.cc File chrome/browser/safe_browsing/safe_browsing_service.cc (right): https://codereview.chromium.org/2675063002/diff/100001/chrome/browser/safe_browsing/safe_browsing_service.cc#newcode261 chrome/browser/safe_browsing/safe_browsing_service.cc:261: if (safe_browsing::V4FeatureList::IsV4OnlyEnabled()) { On 2017/02/08 ...
3 years, 10 months ago (2017-02-09 03:30:28 UTC) #62
Nathan Parker
lgtm https://codereview.chromium.org/2675063002/diff/220001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): https://codereview.chromium.org/2675063002/diff/220001/chrome/browser/download/download_browsertest.cc#newcode1088 chrome/browser/download/download_browsertest.cc:1088: safe_browsing::V4FeatureList::V4UsageStatus::V4_DISABLED) { (This seems like a rather deep ...
3 years, 10 months ago (2017-02-10 00:52:38 UTC) #68
vakh (use Gerrit instead)
asanka@chromium.org: Please review changes in chrome/browser/download/download_browsertest.cc csharrison@chromium.org: Please review changes in chrome/browser/loader/safe_browsing_resource_throttle.cc https://codereview.chromium.org/2675063002/diff/220001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc ...
3 years, 10 months ago (2017-02-10 01:08:16 UTC) #70
Charlie Harrison
Can you make the description/title a bit more descriptive? I didn't recognize "PVer4" at first ...
3 years, 10 months ago (2017-02-10 01:35:07 UTC) #71
vakh (use Gerrit instead)
On 2017/02/10 01:35:07, Charlie Harrison wrote: > Can you make the description/title a bit more ...
3 years, 10 months ago (2017-02-10 01:36:40 UTC) #72
Charlie Harrison
c/b/l LGTM
3 years, 10 months ago (2017-02-10 02:35:58 UTC) #73
asanka
/download/ lgtm
3 years, 10 months ago (2017-02-10 16:15:47 UTC) #74
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/2675063002/220001
3 years, 10 months ago (2017-02-10 18:44:32 UTC) #76
Scott Hess - ex-Googler
lgtm
3 years, 10 months ago (2017-02-10 18:53:32 UTC) #77
commit-bot: I haz the power
Committed patchset #8 (id:220001) as https://chromium.googlesource.com/chromium/src/+/d9bfc537eac0e031058b6df63b4290a645318cf8
3 years, 10 months ago (2017-02-10 19:51:24 UTC) #80
hiroshige
A revert of this CL (patchset #8 id:220001) has been created in https://codereview.chromium.org/2687023007/ by hiroshige@chromium.org. ...
3 years, 10 months ago (2017-02-10 20:54:07 UTC) #81
vakh (use Gerrit instead)
Reverted due to failures here: https://build.chromium.org/p/chromium/builders/Linux%20x64/builds/32970
3 years, 10 months ago (2017-02-11 00:15:08 UTC) #82
vakh (use Gerrit instead)
Use static raw pointer instead of static smart pointer
3 years, 10 months ago (2017-02-11 01:27:39 UTC) #83
Nathan Parker
lgtm https://codereview.chromium.org/2675063002/diff/240001/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/2675063002/diff/240001/components/safe_browsing_db/v4_database.cc#newcode109 components/safe_browsing_db/v4_database.cc:109: db_factory_ = factory.release(); I wonder if you'll get ...
3 years, 10 months ago (2017-02-13 19:45:35 UTC) #89
vakh (use Gerrit instead)
rebase
3 years, 10 months ago (2017-02-13 20:05:41 UTC) #92
vakh (use Gerrit instead)
Use ANNOTATE_LEAKING_OBJECT_PTR
3 years, 10 months ago (2017-02-13 20:07:03 UTC) #95
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/2675063002/280001
3 years, 10 months ago (2017-02-13 20:35:39 UTC) #100
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 23:09:53 UTC) #104
Message was sent while issue was closed.
Committed patchset #11 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/b397adc6b277d907e4c313797b44...

Powered by Google App Engine
This is Rietveld 408576698