Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/safe_browsing/
Dprotocol_parser_unittest.cc356 EXPECT_EQ(deletes[0].chunk_del.size(), 4U); in TEST()
357 EXPECT_TRUE(deletes[0].chunk_del[0] == ChunkRange(1, 7)); in TEST()
358 EXPECT_TRUE(deletes[0].chunk_del[1] == ChunkRange(43, 597)); in TEST()
359 EXPECT_TRUE(deletes[0].chunk_del[2] == ChunkRange(44444)); in TEST()
360 EXPECT_TRUE(deletes[0].chunk_del[3] == ChunkRange(99999)); in TEST()
362 EXPECT_EQ(deletes[1].chunk_del.size(), 3U); in TEST()
363 EXPECT_TRUE(deletes[1].chunk_del[0] == ChunkRange(21, 27)); in TEST()
364 EXPECT_TRUE(deletes[1].chunk_del[1] == ChunkRange(42)); in TEST()
365 EXPECT_TRUE(deletes[1].chunk_del[2] == ChunkRange(171717)); in TEST()
Dsafe_browsing_util.h129 std::vector<ChunkRange> chunk_del; member
Dprotocol_parser.cc182 StringToRanges(cmd_parts[1], &chunk_delete.chunk_del); in ParseUpdate()
Dsafe_browsing_database.cc914 RangesToChunks(chunk_deletes[i].chunk_del, &chunk_numbers); in DeleteChunks()
Dsafe_browsing_database_unittest.cc271 chunk_delete.chunk_del.push_back(ChunkRange(chunk_id)); in DelChunk()