Home
last modified time | relevance | path

Searched refs:add_chunk_id (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store.h63 int32 add_chunk_id; member
67 : chunk_id(id), add_chunk_id(add_id), add_prefix(prefix) {} in SBSubPrefix()
68 SBSubPrefix() : chunk_id(), add_chunk_id(), add_prefix() {} in SBSubPrefix()
70 int32 GetAddChunkId() const { return add_chunk_id; } in GetAddChunkId()
94 int32 add_chunk_id; member
98 : chunk_id(id), add_chunk_id(add_id), full_hash(h) {} in SBSubFullHash()
99 SBSubFullHash() : chunk_id(), add_chunk_id(), full_hash() {} in SBSubFullHash()
101 int32 GetAddChunkId() const { return add_chunk_id; } in GetAddChunkId()
184 int32 add_chunk_id, SBPrefix prefix) = 0;
185 virtual bool WriteSubHash(int32 chunk_id, int32 add_chunk_id,
Dsafe_browsing_store_file.h148 int32 add_chunk_id, SBPrefix prefix) OVERRIDE;
149 virtual bool WriteSubHash(int32 chunk_id, int32 add_chunk_id,
Dsafe_browsing_store_unittest.cc226 EXPECT_EQ(kAddChunk4, sub_prefixes[0].add_chunk_id); in TEST()
231 EXPECT_EQ(kAddChunk3, sub_hashes[0].add_chunk_id); in TEST()
Dsafe_browsing_store_file.cc672 int32 add_chunk_id, in WriteSubPrefix() argument
674 sub_prefixes_.push_back(SBSubPrefix(chunk_id, add_chunk_id, prefix)); in WriteSubPrefix()
678 bool SafeBrowsingStoreFile::WriteSubHash(int32 chunk_id, int32 add_chunk_id, in WriteSubHash() argument
680 sub_hashes_.push_back(SBSubFullHash(chunk_id, add_chunk_id, full_hash)); in WriteSubHash()
Dsafe_browsing_database.cc861 const int add_chunk_id = chunk_data.AddChunkNumberAt(i); in InsertSubChunk() local
862 const int encoded_add_chunk_id = EncodeChunkId(add_chunk_id, list_id); in InsertSubChunk()
870 const int add_chunk_id = chunk_data.AddChunkNumberAt(i); in InsertSubChunk() local
871 const int encoded_add_chunk_id = EncodeChunkId(add_chunk_id, list_id); in InsertSubChunk()