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

Issue 2371043003: Small: Start checking URLs using PVer4. Verdict not returned to client yet. (Closed)

Created:
4 years, 2 months ago by vakh (use Gerrit instead)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, loading-reviews_chromium.org, grt+watch_chromium.org, Randy Smith (Not in Mondays), mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Start checking URLs using PVer4. Verdict not returned to client yet. BUG=543161 Committed: https://crrev.com/17fb38d372c77f2dcbae3da61da22d20b0d98af9 Cr-Commit-Position: refs/heads/master@{#421893}

Patch Set 1 #

Total comments: 4

Patch Set 2 : shess@'s review #

Total comments: 4

Patch Set 3 : feature_list file for v4. Add V4Parallel feature. #

Total comments: 12

Patch Set 4 : nparker@ review #

Patch Set 5 : fixed typo #

Patch Set 6 : git pull #

Patch Set 7 : include ref_counted.h and use scoped_refptr #

Patch Set 8 : Define v4_local_database_manager_ in ServicesDelegateStub #

Patch Set 9 : Remove NOTREACHED #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -45 lines) Patch
M chrome/browser/loader/safe_browsing_resource_throttle.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/loader/safe_browsing_resource_throttle.cc View 1 2 5 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate.h View 1 2 3 4 5 6 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_impl.h View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_impl.cc View 1 2 5 chunks +7 lines, -26 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_stub.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_stub.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M components/safe_browsing_db/BUILD.gn View 1 2 3 4 5 3 chunks +11 lines, -1 line 0 comments Download
A components/safe_browsing_db/v4_feature_list.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A components/safe_browsing_db/v4_feature_list.cc View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.h View 1 2 3 4 5 6 2 chunks +17 lines, -12 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.cc View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 82 (51 generated)
vakh (use Gerrit instead)
4 years, 2 months ago (2016-09-27 21:50:44 UTC) #6
Scott Hess - ex-Googler
Isn't using the same client in two separate sub-systems going to be racy? I mean ...
4 years, 2 months ago (2016-09-27 21:59:59 UTC) #7
vakh (use Gerrit instead)
On 2016/09/27 21:59:59, Scott Hess wrote: > Isn't using the same client in two separate ...
4 years, 2 months ago (2016-09-27 22:03:34 UTC) #8
Scott Hess - ex-Googler
On 2016/09/27 22:03:34, vakh (Varun Khaneja) wrote: > On 2016/09/27 21:59:59, Scott Hess wrote: > ...
4 years, 2 months ago (2016-09-27 22:18:05 UTC) #9
vakh (use Gerrit instead)
On 2016/09/27 22:18:05, Scott Hess wrote: > On 2016/09/27 22:03:34, vakh (Varun Khaneja) wrote: > ...
4 years, 2 months ago (2016-09-27 22:23:31 UTC) #10
Scott Hess - ex-Googler
Yeah, I think LGTM. The ordering points are mostly that you should keep the calls ...
4 years, 2 months ago (2016-09-27 22:24:54 UTC) #11
vakh (use Gerrit instead)
shess@'s review
4 years, 2 months ago (2016-09-28 01:23:53 UTC) #12
vakh (use Gerrit instead)
https://codereview.chromium.org/2371043003/diff/1/chrome/browser/loader/safe_browsing_resource_throttle.cc File chrome/browser/loader/safe_browsing_resource_throttle.cc (right): https://codereview.chromium.org/2371043003/diff/1/chrome/browser/loader/safe_browsing_resource_throttle.cc#newcode115 chrome/browser/loader/safe_browsing_resource_throttle.cc:115: } On 2016/09/27 22:24:53, Scott Hess wrote: > Move ...
4 years, 2 months ago (2016-09-28 01:24:34 UTC) #14
vakh (use Gerrit instead)
mmenke@ -- please review the changes in: chrome/browser/loader/safe_browsing_resource_throttle.*
4 years, 2 months ago (2016-09-28 01:28:03 UTC) #17
mmenke
LGTM https://codereview.chromium.org/2371043003/diff/20001/chrome/browser/loader/safe_browsing_resource_throttle.h File chrome/browser/loader/safe_browsing_resource_throttle.h (right): https://codereview.chromium.org/2371043003/diff/20001/chrome/browser/loader/safe_browsing_resource_throttle.h#newcode178 chrome/browser/loader/safe_browsing_resource_throttle.h:178: GURL url_being_checked_; While you're here, should be include ...
4 years, 2 months ago (2016-09-28 01:55:59 UTC) #20
Nathan Parker
https://codereview.chromium.org/2371043003/diff/20001/chrome/browser/safe_browsing/services_delegate_impl.cc File chrome/browser/safe_browsing/services_delegate_impl.cc (right): https://codereview.chromium.org/2371043003/diff/20001/chrome/browser/safe_browsing/services_delegate_impl.cc#newcode197 chrome/browser/safe_browsing/services_delegate_impl.cc:197: return base::FeatureList::IsEnabled( Double checking the expected outcome here: All ...
4 years, 2 months ago (2016-09-28 17:24:14 UTC) #21
vakh (use Gerrit instead)
feature_list file for v4. Add V4Parallel feature.
4 years, 2 months ago (2016-09-28 22:11:40 UTC) #22
vakh (use Gerrit instead)
nparker@ -- I know you've LGTM'd it but could you please take another look? Thanks. ...
4 years, 2 months ago (2016-09-28 22:13:36 UTC) #25
Nathan Parker
https://codereview.chromium.org/2371043003/diff/40001/chrome/browser/loader/safe_browsing_resource_throttle.cc File chrome/browser/loader/safe_browsing_resource_throttle.cc (right): https://codereview.chromium.org/2371043003/diff/40001/chrome/browser/loader/safe_browsing_resource_throttle.cc#newcode111 chrome/browser/loader/safe_browsing_resource_throttle.cc:111: if (safe_browsing::V4FeatureList::IsParallelCheckEnabled()) { Also check ve_local_database_manager is not null, ...
4 years, 2 months ago (2016-09-28 22:25:55 UTC) #26
vakh (use Gerrit instead)
https://codereview.chromium.org/2371043003/diff/40001/chrome/browser/loader/safe_browsing_resource_throttle.cc File chrome/browser/loader/safe_browsing_resource_throttle.cc (right): https://codereview.chromium.org/2371043003/diff/40001/chrome/browser/loader/safe_browsing_resource_throttle.cc#newcode111 chrome/browser/loader/safe_browsing_resource_throttle.cc:111: if (safe_browsing::V4FeatureList::IsParallelCheckEnabled()) { On 2016/09/28 22:25:55, Nathan Parker wrote: ...
4 years, 2 months ago (2016-09-28 23:00:02 UTC) #29
vakh (use Gerrit instead)
nparker@ review
4 years, 2 months ago (2016-09-28 23:01:10 UTC) #30
vakh (use Gerrit instead)
fixed typo
4 years, 2 months ago (2016-09-28 23:03:28 UTC) #33
Nathan Parker
lgtm https://codereview.chromium.org/2371043003/diff/40001/components/safe_browsing_db/v4_feature_list.cc File components/safe_browsing_db/v4_feature_list.cc (right): https://codereview.chromium.org/2371043003/diff/40001/components/safe_browsing_db/v4_feature_list.cc#newcode10 components/safe_browsing_db/v4_feature_list.cc:10: #ifdef NDEBUG On 2016/09/28 23:00:01, vakh (Varun Khaneja) ...
4 years, 2 months ago (2016-09-28 23:50:14 UTC) #44
vakh (use Gerrit instead)
git pull
4 years, 2 months ago (2016-09-28 23:51:06 UTC) #45
vakh (use Gerrit instead)
include ref_counted.h and use scoped_refptr
4 years, 2 months ago (2016-09-29 00:52:02 UTC) #50
vakh (use Gerrit instead)
Define v4_local_database_manager that returns nullptr for ServicesDelegateStub
4 years, 2 months ago (2016-09-29 01:31:23 UTC) #55
vakh (use Gerrit instead)
Define v4_local_database_manager_ in ServicesDelegateStub
4 years, 2 months ago (2016-09-29 03:17:27 UTC) #60
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/2371043003/160001
4 years, 2 months ago (2016-09-29 05:03:35 UTC) #68
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/38826)
4 years, 2 months ago (2016-09-29 06:30:00 UTC) #70
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/2371043003/160001
4 years, 2 months ago (2016-09-29 16:32:10 UTC) #72
commit-bot: I haz the power
Exceeded global retry quota
4 years, 2 months ago (2016-09-29 17:55:52 UTC) #74
vakh (use Gerrit instead)
Remove NOTREACHED
4 years, 2 months ago (2016-09-29 18:13:32 UTC) #75
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/2371043003/180001
4 years, 2 months ago (2016-09-29 18:14:11 UTC) #78
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years, 2 months ago (2016-09-29 19:06:21 UTC) #79
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/17fb38d372c77f2dcbae3da61da22d20b0d98af9 Cr-Commit-Position: refs/heads/master@{#421893}
4 years, 2 months ago (2016-09-29 19:09:13 UTC) #81
vakh (use Gerrit instead)
4 years, 2 months ago (2016-09-29 22:14:58 UTC) #82
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:180001) has been created in
https://codereview.chromium.org/2381963003/ by vakh@chromium.org.

The reason for reverting is: Reported by dfalcantara@

 09-30 14:35:21.701 27694 27767 E cr_SafeBrowsingApi: Failed to init handler:
Attempt to invoke virtual method 'java.lang.Object
java.lang.Class.newInstance()' on a null object reference
 09-30 14:35:21.741 27694 27767 F chromium: [FATAL:ref_counted.h(322)] Assert
failed: ptr_ != __null. 
.

Powered by Google App Engine
This is Rietveld 408576698