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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_database_bloom.h

Issue 16595: Ignore GetHash results for lists that we don't support. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/safe_browsing_database_bloom.h
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_database_bloom.h (revision 7554)
+++ chrome/browser/safe_browsing/safe_browsing_database_bloom.h (working copy)
@@ -111,15 +111,6 @@
// the given list and chunk type.
void GetChunkIds(int list_id, ChunkType type, std::string* list);
- // Converts between the SafeBrowsing list names and their enumerated value.
- // If the list names change, both of these methods must be updated.
- enum ListType {
- MALWARE = 0,
- PHISH = 1,
- };
- static int GetListId(const std::string& name);
- static std::string GetListName(int list_id);
-
// Generate a bloom filter.
virtual void BuildBloomFilter();
« no previous file with comments | « chrome/browser/safe_browsing/protocol_parser_unittest.cc ('k') | chrome/browser/safe_browsing/safe_browsing_database_bloom.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698