Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_parser_unittest.cc314 ASSERT_EQ(4U, deletes[0].chunk_del.size()); in TEST()
315 EXPECT_TRUE(deletes[0].chunk_del[0] == ChunkRange(1, 7)); in TEST()
316 EXPECT_TRUE(deletes[0].chunk_del[1] == ChunkRange(43, 597)); in TEST()
317 EXPECT_TRUE(deletes[0].chunk_del[2] == ChunkRange(44444)); in TEST()
318 EXPECT_TRUE(deletes[0].chunk_del[3] == ChunkRange(99999)); in TEST()
320 ASSERT_EQ(3U, deletes[1].chunk_del.size()); in TEST()
321 EXPECT_TRUE(deletes[1].chunk_del[0] == ChunkRange(21, 27)); in TEST()
322 EXPECT_TRUE(deletes[1].chunk_del[1] == ChunkRange(42)); in TEST()
323 EXPECT_TRUE(deletes[1].chunk_del[2] == ChunkRange(171717)); in TEST()
Dsafe_browsing_util.h122 std::vector<ChunkRange> chunk_del; member
Dprotocol_parser.cc306 StringToRanges(pieces[1].as_string(), &chunk_delete.chunk_del); in ParseUpdate()
Dsafe_browsing_database.cc932 RangesToChunks(chunk_deletes[i].chunk_del, &chunk_numbers); in DeleteChunks()
Dsafe_browsing_database_unittest.cc288 chunk_delete.chunk_del.push_back(ChunkRange(chunk_id)); in DelChunk()