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

Issue 2561053002: V4Only: In V4Only mode use PVer4 for all SafeBrowsing operations (Closed)

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

Description

Setup V4Only mode, so it can be enabled via finch. [Other modes are V3Only (or Control) and V4Hybrid.] V4Only mode is when Chrome uses only PVer4 implementation for all SafeBrowsing operations. V3Only (or Control): When Chrome uses the existing PVer3 implementation for all SafeBrowsing operations. V4Hybrid: When Chrome uses PVer4 implementation for some SafeBrowsing operations. Namely, CheckBrowseUrl. For details, see https://docs.google.com/document/d/1fA3tvcTRtYOV5dNMst45OE6RXTr_cCtNsZijhB6bGL0/edit#heading=h.c2drkrmajbam This is 98% vakh's CL. BUG=543161 patch from issue 2533993004 at patchset 140001 (http://crrev.com/2533993004#ps140001) Committed: https://crrev.com/6ec02574cadea969029792e1cbbfbab3f8ae5368 Cr-Commit-Position: refs/heads/master@{#437412}

Patch Set 1 #

Patch Set 2 : Fix my comments from 2533993004 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -34 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 10 chunks +28 lines, -15 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_impl.h View 3 chunks +3 lines, -3 lines 2 comments Download
M chrome/browser/safe_browsing/services_delegate_impl.cc View 2 chunks +5 lines, -4 lines 2 comments Download
M chrome/browser/safe_browsing/services_delegate_stub.h View 1 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/services_delegate_stub.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/safe_browsing_db/v4_feature_list.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M components/safe_browsing_db/v4_feature_list.cc View 1 chunk +10 lines, -1 line 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.cc View 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
Nathan Parker
shess -- I added one patch beyond vakh's CL. PTAL.
4 years ago (2016-12-08 05:43:32 UTC) #4
Scott Hess - ex-Googler
LGTM. The ref comment can probably be ignored for now in the interests of not ...
4 years ago (2016-12-08 06:02:55 UTC) #6
Nathan Parker
Thanks Scott. It's _possible_ we could accidentally put a user in V4Hybrid and V4Only, but ...
4 years ago (2016-12-08 23:00:58 UTC) #9
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/2561053002/20001
4 years ago (2016-12-08 23:03:38 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-09 01:35:51 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-09 01:37:43 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6ec02574cadea969029792e1cbbfbab3f8ae5368
Cr-Commit-Position: refs/heads/master@{#437412}

Powered by Google App Engine
This is Rietveld 408576698