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

Issue 1638223003: Add support for a module whitelist (goog-whitemodule-digest256) to the safe browsing db (Closed)

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

Description

Add support for a module whitelist (goog-whitemodule-digest256) to the safe browsing db BUG=585123 Committed: https://crrev.com/a933956f59c648142b325d431a9d21f167e0d596 Cr-Commit-Position: refs/heads/master@{#375925}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add method to access the whitelist + unit tests #

Total comments: 4

Patch Set 3 : Rename to digest256, add comment to database_manager.h #

Patch Set 4 : Fix enumeration value 'MODULEWHITELIST' not handled in sitch errors #

Patch Set 5 : Reorder case for consistency #

Patch Set 6 : Fix Android build by adding dummy method to RemoteDatabaseManager" #

Patch Set 7 : Rebase-update because remote_database_manager was moved to components #

Patch Set 8 : Fix browser test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -128 lines) Patch
M chrome/browser/safe_browsing/local_database_manager.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/local_database_manager.cc View 1 2 3 4 5 6 5 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.h View 1 10 chunks +19 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.cc View 1 21 chunks +84 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_unittest.cc View 1 10 chunks +137 lines, -103 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M components/safe_browsing_db/database_manager.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M components/safe_browsing_db/remote_database_manager.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing_db/remote_database_manager.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M components/safe_browsing_db/test_database_manager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing_db/test_database_manager.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M components/safe_browsing_db/util.h View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M components/safe_browsing_db/util.cc View 1 2 3 4 5 6 3 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 38 (20 generated)
proberge
Won't be submitted until goog-whitemodule-sha256 starts being served.
4 years, 11 months ago (2016-01-27 14:55:09 UTC) #3
Nathan Parker
Please add a bug number vakh -- FYI. This is adding a new whitelist to ...
4 years, 10 months ago (2016-02-08 02:47:40 UTC) #4
Nathan Parker
+vakh for real this time. vakh -- FYI. This is adding a new whitelist to ...
4 years, 10 months ago (2016-02-08 02:48:08 UTC) #5
Nathan Parker
one comment I missed. https://codereview.chromium.org/1638223003/diff/1/chrome/browser/safe_browsing/local_database_manager.h File chrome/browser/safe_browsing/local_database_manager.h (right): https://codereview.chromium.org/1638223003/diff/1/chrome/browser/safe_browsing/local_database_manager.h#newcode348 chrome/browser/safe_browsing/local_database_manager.h:348: bool enable_module_whitelist_; Do you need ...
4 years, 10 months ago (2016-02-08 02:58:46 UTC) #6
proberge
Added a method to read from the whitelist as well as a unit test. PTAL ...
4 years, 10 months ago (2016-02-08 16:23:59 UTC) #8
Nathan Parker
lgtm https://codereview.chromium.org/1638223003/diff/20001/components/safe_browsing_db/database_manager.h File components/safe_browsing_db/database_manager.h (right): https://codereview.chromium.org/1638223003/diff/20001/components/safe_browsing_db/database_manager.h#newcode121 components/safe_browsing_db/database_manager.h:121: // Check if |str| matches any of the ...
4 years, 10 months ago (2016-02-16 21:20:53 UTC) #9
proberge
Thanks for the review! https://codereview.chromium.org/1638223003/diff/20001/components/safe_browsing_db/database_manager.h File components/safe_browsing_db/database_manager.h (right): https://codereview.chromium.org/1638223003/diff/20001/components/safe_browsing_db/database_manager.h#newcode121 components/safe_browsing_db/database_manager.h:121: // Check if |str| matches ...
4 years, 10 months ago (2016-02-16 22:30:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1638223003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1638223003/40001
4 years, 10 months ago (2016-02-16 22:34:22 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/22573) chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 10 months ago (2016-02-16 22:57:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1638223003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1638223003/80001
4 years, 10 months ago (2016-02-17 14:51:10 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/24373)
4 years, 10 months ago (2016-02-17 15:05:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1638223003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1638223003/100001
4 years, 10 months ago (2016-02-17 15:12:22 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/117247) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 10 months ago (2016-02-17 15:15:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1638223003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1638223003/120001
4 years, 10 months ago (2016-02-17 16:11:15 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/126362) linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 10 months ago (2016-02-17 16:25:19 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1638223003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1638223003/140001
4 years, 10 months ago (2016-02-17 17:37:51 UTC) #34
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 10 months ago (2016-02-17 18:40:37 UTC) #36
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 18:41:40 UTC) #38
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/a933956f59c648142b325d431a9d21f167e0d596
Cr-Commit-Position: refs/heads/master@{#375925}

Powered by Google App Engine
This is Rietveld 408576698