Searched refs:entry_metadata (Results 1 – 6 of 6) sorted by relevance
30 const linked_ptr<EntryMetadata> entry_metadata = params->entries[i]; in ConvertRequestValueToEntryList() local33 output_entry.is_directory = entry_metadata->is_directory; in ConvertRequestValueToEntryList()34 output_entry.name = entry_metadata->name; in ConvertRequestValueToEntryList()35 output_entry.size = static_cast<int64>(entry_metadata->size); in ConvertRequestValueToEntryList()38 if (!entry_metadata->modification_time.additional_properties.GetString( in ConvertRequestValueToEntryList()
42 void CheckEntryMetadataValues(const EntryMetadata& entry_metadata) { in CheckEntryMetadataValues() argument44 entry_metadata.GetLastUsedTime()); in CheckEntryMetadataValues()46 entry_metadata.GetLastUsedTime()); in CheckEntryMetadataValues()47 EXPECT_EQ(kTestEntrySize, entry_metadata.GetEntrySize()); in CheckEntryMetadataValues()172 EntryMetadata entry_metadata; in TEST_F() local173 EXPECT_EQ(base::Time(), entry_metadata.GetLastUsedTime()); in TEST_F()174 EXPECT_EQ(0, entry_metadata.GetEntrySize()); in TEST_F()176 entry_metadata = NewEntryMetadataWithValues(); in TEST_F()177 CheckEntryMetadataValues(entry_metadata); in TEST_F()180 entry_metadata.SetLastUsedTime(new_time); in TEST_F()[all …]
410 EntryMetadata entry_metadata; in Deserialize() local412 !entry_metadata.Deserialize(&pickle_it)) { in Deserialize()417 SimpleIndex::InsertInEntrySet(hash_key, entry_metadata, entries); in Deserialize()
112 const EntryMetadata& entry_metadata,
364 const disk_cache::EntryMetadata& entry_metadata, in InsertInEntrySet() argument367 entry_set->insert(std::make_pair(entry_hash, entry_metadata)); in InsertInEntrySet()
1645 const sync_pb::AttachmentMetadata& entry_metadata = in TEST_F() local1647 ASSERT_EQ(2, entry_metadata.record_size()); in TEST_F()1648 ASSERT_FALSE(entry_metadata.record(0).is_on_server()); in TEST_F()1649 ASSERT_FALSE(entry_metadata.record(1).is_on_server()); in TEST_F()1655 ASSERT_TRUE(entry_metadata.record(0).is_on_server()); in TEST_F()1656 ASSERT_FALSE(entry_metadata.record(1).is_on_server()); in TEST_F()