diff options
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_database.h')
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_database.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_database.h b/chrome/browser/safe_browsing/safe_browsing_database.h index 6e6612a..5e38763 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database.h +++ b/chrome/browser/safe_browsing/safe_browsing_database.h @@ -89,9 +89,6 @@ class SafeBrowsingDatabase { virtual std::wstring filename() const { return filename_; } protected: - friend class SafeBrowsingDatabaseTest; - FRIEND_TEST(SafeBrowsingDatabase, HashCaching); - static std::wstring BloomFilterFilename(const std::wstring& db_filename); // Load the bloom filter off disk, or generates one if it doesn't exist. @@ -109,6 +106,9 @@ class SafeBrowsingDatabase { // Measuring false positive rate. Call this each time we look in the filter. virtual void IncrementBloomFilterReadCount() {} + // Full hash cache support. + FRIEND_TEST(SafeBrowsingDatabase, HashCaching); + typedef struct HashCacheEntry { SBFullHash full_hash; int list_id; |