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

Issue 404803006: Remove some very old-file-format code from safe browsing store. (Closed)

Created:
6 years, 5 months ago by Scott Hess - ex-Googler
Modified:
6 years, 5 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Remove some very old-file-format code from safe browsing store. In 2010 safe-browsing storage was rewritten to use a binary format instead of SQLite, with support for SQLite removed in 2011 (r74253). Remove the code which detects and histograms this, as there is no possibility that anything will be done with that data. Additionally, remove code to delete even older SQLite files left from the original safe-browsing implementation. This code is firing a few thousand times per month, but it is hard to imagine any scenario where profiles that continue to contain this data are not horribly broken. BUG=none R=asvitkine@chromium.org, feng@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285389

Patch Set 1 #

Total comments: 2

Patch Set 2 : deprecate SB2.OldDatabaseKilobytes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -55 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_store_file.cc View 6 chunks +9 lines, -44 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +36 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Scott Hess - ex-Googler
I usually snag Matt for these cleanups, but he's OOT, so since you've been working ...
6 years, 5 months ago (2014-07-18 20:45:52 UTC) #1
Feng Qian
On 2014/07/18 20:45:52, Scott Hess wrote: > I usually snag Matt for these cleanups, but ...
6 years, 5 months ago (2014-07-18 21:11:46 UTC) #2
Scott Hess - ex-Googler
On 2014/07/18 21:11:46, Feng Qian wrote: > On 2014/07/18 20:45:52, Scott Hess wrote: > > ...
6 years, 5 months ago (2014-07-18 21:28:19 UTC) #3
Scott Hess - ex-Googler
The CQ bit was checked by shess@chromium.org
6 years, 5 months ago (2014-07-18 21:28:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/404803006/1
6 years, 5 months ago (2014-07-18 21:29:31 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-19 01:11:38 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-19 01:15:51 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/81074)
6 years, 5 months ago (2014-07-19 01:15:52 UTC) #8
Scott Hess - ex-Googler
Oops - OWNERS for histograms.xml?
6 years, 5 months ago (2014-07-22 23:32:36 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/404803006/diff/1/chrome/browser/safe_browsing/safe_browsing_store_file.cc File chrome/browser/safe_browsing/safe_browsing_store_file.cc (left): https://codereview.chromium.org/404803006/diff/1/chrome/browser/safe_browsing/safe_browsing_store_file.cc#oldcode641 chrome/browser/safe_browsing/safe_browsing_store_file.cc:641: UMA_HISTOGRAM_COUNTS("SB2.OldDatabaseKilobytes", Can you mark this histogram with an <obsolete> ...
6 years, 5 months ago (2014-07-23 14:41:16 UTC) #10
Scott Hess - ex-Googler
https://codereview.chromium.org/404803006/diff/1/chrome/browser/safe_browsing/safe_browsing_store_file.cc File chrome/browser/safe_browsing/safe_browsing_store_file.cc (left): https://codereview.chromium.org/404803006/diff/1/chrome/browser/safe_browsing/safe_browsing_store_file.cc#oldcode641 chrome/browser/safe_browsing/safe_browsing_store_file.cc:641: UMA_HISTOGRAM_COUNTS("SB2.OldDatabaseKilobytes", On 2014/07/23 14:41:16, Alexei Svitkine wrote: > Can ...
6 years, 5 months ago (2014-07-23 17:18:19 UTC) #11
Scott Hess - ex-Googler
On 2014/07/23 17:18:19, Scott Hess wrote: > https://codereview.chromium.org/404803006/diff/1/chrome/browser/safe_browsing/safe_browsing_store_file.cc > File chrome/browser/safe_browsing/safe_browsing_store_file.cc (left): > > https://codereview.chromium.org/404803006/diff/1/chrome/browser/safe_browsing/safe_browsing_store_file.cc#oldcode641 ...
6 years, 5 months ago (2014-07-24 17:42:30 UTC) #12
Alexei Svitkine (slow)
lgtm
6 years, 5 months ago (2014-07-24 17:59:53 UTC) #13
Scott Hess - ex-Googler
The CQ bit was checked by shess@chromium.org
6 years, 5 months ago (2014-07-24 18:05:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/404803006/20001
6 years, 5 months ago (2014-07-24 18:08:03 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 21:24:02 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 21:58:39 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel_swarming/builds/2092)
6 years, 5 months ago (2014-07-24 21:58:39 UTC) #18
Scott Hess - ex-Googler
6 years, 5 months ago (2014-07-24 22:16:53 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 manually as r285389 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698