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

Issue 337723004: [Safe browsing] Clean up code to scan hash results for threats. (Closed)

Created:
6 years, 6 months ago by Scott Hess - ex-Googler
Modified:
6 years, 6 months ago
Reviewers:
mattm
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

[Safe browsing] Clean up code to scan hash results for threats. Rewrite safe_browsing_util::GetHashIndex() and GetUrlHashIndex() to use sensible return types rather than transitioning to/from int. Pull them into database_manager.cc, which was the only place they were used. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277997

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -74 lines) Patch
M chrome/browser/safe_browsing/database_manager.h View 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/database_manager.cc View 3 chunks +68 lines, -26 lines 0 comments Download
M chrome/browser/safe_browsing/database_manager_unittest.cc View 1 chunk +50 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.h View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util_unittest.cc View 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Scott Hess - ex-Googler
6 years, 6 months ago (2014-06-13 23:49:40 UTC) #1
mattm
lgtm
6 years, 6 months ago (2014-06-17 20:28:56 UTC) #2
Scott Hess - ex-Googler
The CQ bit was checked by shess@chromium.org
6 years, 6 months ago (2014-06-17 20:36:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/337723004/1
6 years, 6 months ago (2014-06-17 20:40:41 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 09:03:51 UTC) #5
Message was sent while issue was closed.
Change committed as 277997

Powered by Google App Engine
This is Rietveld 408576698