Index: chrome/browser/safe_browsing/safe_browsing_database.h |
=================================================================== |
--- chrome/browser/safe_browsing/safe_browsing_database.h (revision 6884) |
+++ chrome/browser/safe_browsing/safe_browsing_database.h (working copy) |
@@ -89,6 +89,9 @@ |
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. |
@@ -106,9 +109,6 @@ |
// 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; |