/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_store.h | 25 // List of SBAddPrefix (chunk_id and SBPrefix). 26 // List of SBSubPrefix (chunk_id and the target SBAddPrefix). 28 // List of SBSubFullHash (chunk_id, target SBAddPrefix, and an SBFullHash). 45 int32 chunk_id; member in struct:SBAddPrefix 48 SBAddPrefix(int32 id, SBPrefix p) : chunk_id(id), prefix(p) {} 49 SBAddPrefix() : chunk_id(), prefix() {} 51 int32 GetAddChunkId() const { return chunk_id; } 56 int32 chunk_id; member in struct:SBSubPrefix 61 : chunk_id(id), add_chunk_id(add_id), add_prefix(prefix) {} 62 SBSubPrefix() : chunk_id(), add_chunk_id(), add_prefix() { 69 int32 chunk_id; member in struct:SBAddFullHash 91 int32 chunk_id; member in struct:SBSubFullHash [all...] |
safe_browsing_util.h | 160 void set_chunk_id(int chunk_id) { data_.chunk_id = chunk_id; } 161 int chunk_id() const { return data_.chunk_id; } function in class:SBEntry 189 void SetChunkIdAtPrefix(int index, int chunk_id); 222 int chunk_id; member in struct:SBEntry::Data
|
safe_browsing_service_browsertest.cc | 385 int chunk_id = 0; local 386 GenUrlFullhashResult(url, safe_browsing_util::kMalwareList, chunk_id, 419 int chunk_id = 0; local 421 chunk_id, &malware_full_hash); 516 int chunk_id = 0; local 518 chunk_id, &full_hash_result); 543 int chunk_id = 0; local 545 chunk_id, &full_hash_result); 564 int chunk_id = 0; local 566 chunk_id, &full_hash_result) 581 int chunk_id = 0; local 614 int chunk_id = 0; local [all...] |
safe_browsing_database.cc | 49 // To save space, the incoming |chunk_id| and |list_id| are combined 53 // there should be better ways to save chunk_id and list_id after we use 149 const int list_bit = GetListIdBit(hiter->chunk_id); 154 result.add_chunk_id = DecodeChunkId(hiter->chunk_id); 670 GetListIdBit(add_prefixes[i].chunk_id) == list_bit) { 729 void SafeBrowsingDatabaseNew::InsertAdd(int chunk_id, SBPrefix host, 737 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); 779 const int chunk_id = citer->chunk_number; local 783 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); 792 InsertAdd(chunk_id, hiter->host, hiter->entry, list_id) 853 const int chunk_id = citer->chunk_number; local [all...] |