Home
last modified time | relevance | path

Searched refs:EntryMetadata (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/file_system_provider/
Dprovided_file_system_interface.cc10 EntryMetadata::EntryMetadata() : is_directory(false), size(0) { in EntryMetadata() function in chromeos::file_system_provider::EntryMetadata
13 EntryMetadata::~EntryMetadata() { in ~EntryMetadata()
Dprovided_file_system_interface.h35 struct EntryMetadata { struct
36 EntryMetadata();
37 ~EntryMetadata();
47 DISALLOW_COPY_AND_ASSIGN(EntryMetadata); argument
73 typedef base::Callback<void(scoped_ptr<EntryMetadata> entry_metadata,
Dfake_provided_file_system.cc29 FakeEntry::FakeEntry(scoped_ptr<EntryMetadata> metadata, in FakeEntry()
66 scoped_ptr<EntryMetadata> metadata(new EntryMetadata); in AddEntry()
102 base::Passed(make_scoped_ptr<EntryMetadata>(NULL)), in GetMetadata()
106 scoped_ptr<EntryMetadata> metadata(new EntryMetadata); in GetMetadata()
128 const EntryMetadata* const metadata = it->second->metadata.get(); in ReadDirectory()
Dfake_provided_file_system.h41 FakeEntry(scoped_ptr<EntryMetadata> metadata, const std::string& contents);
44 scoped_ptr<EntryMetadata> metadata;
Dprovided_file_system.cc88 callback.Run(make_scoped_ptr<EntryMetadata>(NULL), in GetMetadata()
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
Dget_metadata.cc20 EntryMetadata* output) { in ConvertRequestValueToFileInfo()
21 using extensions::api::file_system_provider::EntryMetadata; in ConvertRequestValueToFileInfo()
105 scoped_ptr<EntryMetadata> metadata(new EntryMetadata); in OnSuccess()
111 callback_.Run(make_scoped_ptr<EntryMetadata>(NULL), in OnSuccess()
122 callback_.Run(make_scoped_ptr<EntryMetadata>(NULL), error); in OnError()
Dget_metadata_unittest.cc41 Event(scoped_ptr<EntryMetadata> metadata, base::File::Error result) in Event()
45 const EntryMetadata* metadata() const { return metadata_.get(); } in metadata()
49 scoped_ptr<EntryMetadata> metadata_;
58 void OnGetMetadata(scoped_ptr<EntryMetadata> metadata, in OnGetMetadata()
209 const EntryMetadata* metadata = event->metadata(); in TEST_F()
282 const EntryMetadata* metadata = event->metadata(); in TEST_F()
Dread_directory.cc21 using extensions::api::file_system_provider::EntryMetadata; in ConvertRequestValueToEntryList()
30 const linked_ptr<EntryMetadata> entry_metadata = params->entries[i]; in ConvertRequestValueToEntryList()
/external/chromium_org/net/disk_cache/simple/
Dsimple_index.h40 class NET_EXPORT_PRIVATE EntryMetadata {
42 EntryMetadata();
43 EntryMetadata(base::Time last_used_time, int entry_size);
72 COMPILE_ASSERT(sizeof(EntryMetadata) == 8, metadata_size);
109 typedef base::hash_map<uint64, EntryMetadata> EntrySet;
112 const EntryMetadata& entry_metadata,
Dsimple_index.cc79 EntryMetadata::EntryMetadata() in EntryMetadata() function in disk_cache::EntryMetadata
84 EntryMetadata::EntryMetadata(base::Time last_used_time, int entry_size) in EntryMetadata() function in disk_cache::EntryMetadata
90 base::Time EntryMetadata::GetLastUsedTime() const { in GetLastUsedTime()
99 void EntryMetadata::SetLastUsedTime(const base::Time& last_used_time) { in SetLastUsedTime()
120 void EntryMetadata::Serialize(Pickle* pickle) const { in Serialize()
127 bool EntryMetadata::Deserialize(PickleIterator* it) { in Deserialize()
216 initial_time -= EntryMetadata::GetLowerEpsilonForTimeComparisons(); in GetEntriesBetween()
220 end_time += EntryMetadata::GetUpperEpsilonForTimeComparisons(); in GetEntriesBetween()
227 EntryMetadata& metadata = it->second; in GetEntriesBetween()
250 entry_hash, EntryMetadata(base::Time::Now(), 0), &entries_set_); in Insert()
[all …]
Dsimple_index_unittest.cc38 EntryMetadata NewEntryMetadataWithValues() { in NewEntryMetadataWithValues()
39 return EntryMetadata(kTestLastUsedTime, kTestEntrySize); in NewEntryMetadataWithValues()
42 void CheckEntryMetadataValues(const EntryMetadata& entry_metadata) { in CheckEntryMetadataValues()
133 bool GetEntryForTesting(uint64 key, EntryMetadata* metadata) { in GetEntryForTesting()
145 hash_key, EntryMetadata(last_used_time, entry_size))); in InsertIntoIndexFileReturn()
172 EntryMetadata entry_metadata; in TEST_F()
189 EntryMetadata entry_metadata = NewEntryMetadataWithValues(); in TEST_F()
195 EntryMetadata new_entry_metadata; in TEST_F()
220 std::make_pair(new_hash_key, EntryMetadata(base::Time::Now(), 11))); in TEST_F()
223 EntryMetadata(base::Time::Now(), 4))); in TEST_F()
[all …]
Dsimple_index_file_unittest.cc96 bool CompareTwoEntryMetadata(const EntryMetadata& a, const EntryMetadata& b) { in CompareTwoEntryMetadata()
126 EntryMetadata metadata_entries[kNumHashes]; in TEST_F()
132 metadata_entries[i] = EntryMetadata(Time(), hash); in TEST_F()
200 EntryMetadata metadata_entries[kNumHashes]; in TEST_F()
203 metadata_entries[i] = EntryMetadata(Time(), hash); in TEST_F()
Dsimple_index_file.cc117 EntryMetadata(last_used_time, file_size), in ProcessEntryFile()
410 EntryMetadata entry_metadata; in Deserialize()
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
Dfile_stream_reader.h19 struct EntryMetadata;
73 scoped_ptr<EntryMetadata> metadata,
89 scoped_ptr<EntryMetadata> metadata,
Dfile_stream_reader.cc118 base::Passed(make_scoped_ptr<EntryMetadata>(NULL)), in GetMetadataOnUIThread()
172 scoped_ptr<EntryMetadata> metadata, in OnGetMetadataCompletedOnUIThread()
290 scoped_ptr<EntryMetadata> metadata, in OnInitializeCompleted()
470 scoped_ptr<EntryMetadata> metadata, in OnGetMetadataForGetLengthReceived()
Dprovider_async_file_util.cc32 callback.Run(make_scoped_ptr<EntryMetadata>(NULL), in GetFileInfoOnUIThread()
46 scoped_ptr<EntryMetadata> metadata, in OnGetFileInfo()
/external/chromium_org/chrome/common/extensions/api/
Dfile_system_provider_internal.idl23 fileSystemProvider.EntryMetadata metadata,
31 fileSystemProvider.EntryMetadata[] entries,
Dfile_system_provider.idl38 dictionary EntryMetadata {
310 EntryMetadata metadata);
317 EntryMetadata[] entries, boolean hasMore);
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfilesystem_api_util.cc50 scoped_ptr<chromeos::file_system_provider::EntryMetadata> metadata, in GetMimeTypeAfterGetMetadataForProvidedFileSystem()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dprivate_api_drive.cc34 using chromeos::file_system_provider::EntryMetadata;
405 void OnGetMetadataCompleted(scoped_ptr<EntryMetadata> metadata, in OnGetMetadataCompleted()