Commit ce676069 authored by gab's avatar gab Committed by Commit bot

Remove dead code in SafeBrowsingDatabaseManager.

SafeBrowsingDatabaseManager::LogPauseDelay() has been dead code since http://crrev.com/169608
when it was moved to UIManager it looks like.

BUG=None

Review URL: https://codereview.chromium.org/725113003

Cr-Commit-Position: refs/heads/master@{#305107}
parent efe4158e
......@@ -630,10 +630,6 @@ void SafeBrowsingDatabaseManager::ResetDatabase() {
&SafeBrowsingDatabaseManager::OnResetDatabase, this));
}
void SafeBrowsingDatabaseManager::LogPauseDelay(base::TimeDelta time) {
UMA_HISTOGRAM_LONG_TIMES("SB2.Delay", time);
}
void SafeBrowsingDatabaseManager::StartOnIOThread() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (enabled_)
......
......@@ -188,12 +188,6 @@ class SafeBrowsingDatabaseManager
const std::vector<SBFullHashResult>& full_hashes,
const base::TimeDelta& cache_lifetime);
// Log the user perceived delay caused by SafeBrowsing. This delay is the time
// delta starting from when we would have started reading data from the
// network, and ending when the SafeBrowsing check completes indicating that
// the current page is 'safe'.
void LogPauseDelay(base::TimeDelta time);
// Called to initialize objects that are used on the io_thread. This may be
// called multiple times during the life of the DatabaseManager. Should be
// called on IO thread.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment