Searched refs:add_chunk_id (Results 1 – 10 of 10) sorted by relevance
/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_store.h | 57 int32 add_chunk_id; member 61 : chunk_id(id), add_chunk_id(add_id), add_prefix(prefix) {} in SBSubPrefix() 62 SBSubPrefix() : chunk_id(), add_chunk_id(), add_prefix() {} in SBSubPrefix() 64 int32 GetAddChunkId() const { return add_chunk_id; } in GetAddChunkId() 92 int32 add_chunk_id; member 96 : chunk_id(id), add_chunk_id(add_id), full_hash(h) {} in SBSubFullHash() 97 SBSubFullHash() : chunk_id(), add_chunk_id(), full_hash() {} in SBSubFullHash() 99 int32 GetAddChunkId() const { return add_chunk_id; } in GetAddChunkId() 201 int32 add_chunk_id, SBPrefix prefix) = 0; 202 virtual bool WriteSubHash(int32 chunk_id, int32 add_chunk_id,
|
D | safe_browsing_store_unittest.cc | 182 EXPECT_EQ(kAddChunk1, sub_prefixes[0].add_chunk_id); in TEST() 187 EXPECT_EQ(kAddChunk1, sub_hashes[0].add_chunk_id); in TEST() 242 EXPECT_EQ(kAddChunk1, sub_prefixes[0].add_chunk_id); in TEST() 247 EXPECT_EQ(kAddChunk1, sub_hashes[0].add_chunk_id); in TEST()
|
D | safe_browsing_service_browsertest.cc | 261 int add_chunk_id, in GenUrlFullhashResult() argument 269 full_hash->add_chunk_id = add_chunk_id; in GenUrlFullhashResult() 274 int add_chunk_id, in GenDigestFullhashResult() argument 278 full_hash->add_chunk_id = add_chunk_id; in GenDigestFullhashResult()
|
D | safe_browsing_store_file.h | 130 int32 add_chunk_id, SBPrefix prefix); 131 virtual bool WriteSubHash(int32 chunk_id, int32 add_chunk_id,
|
D | safe_browsing_database.cc | 154 result.add_chunk_id = DecodeChunkId(hiter->chunk_id); in GetCachedFullHashesForBrowse() 814 const int add_chunk_id = EncodeChunkId(entry->chunk_id(), list_id); in InsertSub() local 815 store->WriteSubPrefix(encoded_chunk_id, add_chunk_id, host); in InsertSub() 820 const int add_chunk_id = in InsertSub() local 824 store->WriteSubPrefix(encoded_chunk_id, add_chunk_id, prefix); in InsertSub() 830 const int add_chunk_id = in InsertSub() local 834 store->WriteSubPrefix(encoded_chunk_id, add_chunk_id, full_hash.prefix); in InsertSub() 837 store->WriteSubHash(encoded_chunk_id, add_chunk_id, full_hash); in InsertSub() 945 int encoded_chunk_id = EncodeChunkId(iter->add_chunk_id, list_id); in CacheHashResults()
|
D | safe_browsing_store_file.cc | 342 int32 add_chunk_id, in WriteSubPrefix() argument 344 sub_prefixes_.push_back(SBSubPrefix(chunk_id, add_chunk_id, prefix)); in WriteSubPrefix() 348 bool SafeBrowsingStoreFile::WriteSubHash(int32 chunk_id, int32 add_chunk_id, in WriteSubHash() argument 350 sub_hashes_.push_back(SBSubFullHash(chunk_id, add_chunk_id, full_hash)); in WriteSubHash()
|
D | safe_browsing_util.h | 110 int add_chunk_id; member
|
D | protocol_parser_unittest.cc | 579 EXPECT_EQ(full_hashes[0].add_chunk_id, 1); in TEST() 594 EXPECT_EQ(full_hashes[0].add_chunk_id, 1); in TEST() 598 EXPECT_EQ(full_hashes[1].add_chunk_id, 7); in TEST()
|
D | protocol_parser.cc | 95 full_hash.add_chunk_id = atoi(cmd_parts[1].c_str()); in ParseGetHash()
|
D | safe_browsing_database_unittest.cc | 831 full_hash.add_chunk_id = 1; in PopulateDatabaseForCacheTest()
|