| Index: chrome/browser/safe_browsing/database_manager.h
|
| diff --git a/chrome/browser/safe_browsing/database_manager.h b/chrome/browser/safe_browsing/database_manager.h
|
| index 8f2b219b449470f0a9e21b46f8b4c5a84ad91e34..0ca1c8f5d4cb70fe3ca1f12c4ca65a9f39aa7b10 100644
|
| --- a/chrome/browser/safe_browsing/database_manager.h
|
| +++ b/chrome/browser/safe_browsing/database_manager.h
|
| @@ -179,10 +179,9 @@ class SafeBrowsingDatabaseManager
|
|
|
| // Called on the IO thread when the SafeBrowsingProtocolManager has received
|
| // the full hash results for prefix hits detected in the database.
|
| - void HandleGetHashResults(
|
| - SafeBrowsingCheck* check,
|
| - const std::vector<SBFullHashResult>& full_hashes,
|
| - bool can_cache);
|
| + void HandleGetHashResults(SafeBrowsingCheck* check,
|
| + 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
|
| @@ -288,10 +287,6 @@ class SafeBrowsingDatabaseManager
|
| // database is a synchronous operation.
|
| void OnResetDatabase();
|
|
|
| - // Store in-memory the GetHash response. Runs on the database thread.
|
| - void CacheHashResults(const std::vector<SBPrefix>& prefixes,
|
| - const std::vector<SBFullHashResult>& full_hashes);
|
| -
|
| // Internal worker function for processing full hashes.
|
| void OnHandleGetHashResults(SafeBrowsingCheck* check,
|
| const std::vector<SBFullHashResult>& full_hashes);
|
|
|