Home
last modified time | relevance | path

Searched refs:resource_metadata (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dsearch_operation.cc35 internal::ResourceMetadata* resource_metadata, in ResolveSearchResultOnBlockingPool() argument
38 DCHECK(resource_metadata); in ResolveSearchResultOnBlockingPool()
45 FileError error = resource_metadata->GetIdByResourceId( in ResolveSearchResultOnBlockingPool()
50 error = resource_metadata->GetResourceEntryById(local_id, &entry); in ResolveSearchResultOnBlockingPool()
67 error = resource_metadata->AddEntry(entry, &local_id); in ResolveSearchResultOnBlockingPool()
72 error = resource_metadata->GetFilePath(local_id, &path); in ResolveSearchResultOnBlockingPool()
/external/chromium_org/chrome/browser/chromeos/drive/
Dsearch_metadata.cc187 ResourceMetadata* resource_metadata, in MaybeAddEntryToResult() argument
228 FileError SearchMetadataOnBlockingPool(ResourceMetadata* resource_metadata, in SearchMetadataOnBlockingPool() argument
242 FileError error = resource_metadata->GetResourceEntryByPath( in SearchMetadataOnBlockingPool()
246 HiddenEntryClassifier hidden_entry_classifier(resource_metadata, in SearchMetadataOnBlockingPool()
250 scoped_ptr<ResourceMetadata::Iterator> it = resource_metadata->GetIterator(); in SearchMetadataOnBlockingPool()
252 FileError error = MaybeAddEntryToResult(resource_metadata, it.get(), in SearchMetadataOnBlockingPool()
269 error = resource_metadata->GetFilePath(candidate.local_id, &path); in SearchMetadataOnBlockingPool()
301 ResourceMetadata* resource_metadata, in SearchMetadata() argument
318 resource_metadata, in SearchMetadata()
Dchange_list_processor.cc116 ChangeListProcessor::ChangeListProcessor(ResourceMetadata* resource_metadata) in ChangeListProcessor() argument
117 : resource_metadata_(resource_metadata), changed_files_(new FileChange) { in ChangeListProcessor()
398 ResourceMetadata* resource_metadata, in RefreshDirectory() argument
405 FileError error = resource_metadata->GetResourceEntryById( in RefreshDirectory()
431 error = resource_metadata->GetIdByResourceId(entry->resource_id(), in RefreshDirectory()
435 error = resource_metadata->RefreshEntry(*entry); in RefreshDirectory()
440 error = resource_metadata->AddEntry(*entry, &local_id); in RefreshDirectory()
447 error = resource_metadata->GetResourceEntryById(local_id, &result_entry); in RefreshDirectory()
457 ResourceMetadata* resource_metadata, in SetParentLocalIdOfEntry() argument
465 FileError error = resource_metadata->GetIdByResourceId( in SetParentLocalIdOfEntry()
Ddirectory_loader.cc33 FileError CheckLocalState(ResourceMetadata* resource_metadata, in CheckLocalState() argument
40 FileError error = resource_metadata->GetResourceEntryByPath( in CheckLocalState()
47 error = resource_metadata->RefreshEntry(mydrive); in CheckLocalState()
53 error = resource_metadata->GetResourceEntryById(local_id, entry); in CheckLocalState()
58 return resource_metadata->GetLargestChangestamp(local_changestamp); in CheckLocalState()
61 FileError UpdateChangestamp(ResourceMetadata* resource_metadata, in UpdateChangestamp() argument
66 FileError error = resource_metadata->GetResourceEntryById( in UpdateChangestamp()
76 error = resource_metadata->RefreshEntry(directory); in UpdateChangestamp()
81 return resource_metadata->GetFilePath(directory_fetch_info.local_id(), in UpdateChangestamp()
201 ResourceMetadata* resource_metadata, in DirectoryLoader() argument
[all …]
Dfile_system.cc46 internal::ResourceMetadata* resource_metadata, in GetLocallyStoredResourceEntry() argument
51 FileError error = resource_metadata->GetIdByPath(file_path, &local_id); in GetLocallyStoredResourceEntry()
55 error = resource_metadata->GetResourceEntryById(local_id, entry); in GetLocallyStoredResourceEntry()
102 FileError PinInternal(internal::ResourceMetadata* resource_metadata, in PinInternal() argument
106 FileError error = resource_metadata->GetIdByPath(file_path, local_id); in PinInternal()
111 error = resource_metadata->GetResourceEntryById(*local_id, &entry); in PinInternal()
123 FileError UnpinInternal(internal::ResourceMetadata* resource_metadata, in UnpinInternal() argument
127 FileError error = resource_metadata->GetIdByPath(file_path, local_id); in UnpinInternal()
136 internal::ResourceMetadata* resource_metadata, in MarkCacheFileAsMountedInternal() argument
141 FileError error = resource_metadata->GetIdByPath(drive_file_path, &local_id); in MarkCacheFileAsMountedInternal()
[all …]
Dresource_metadata_unittest.cc93 void SetUpEntries(ResourceMetadata* resource_metadata) { in SetUpEntries() argument
95 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->GetIdByPath( in SetUpEntries()
99 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry( in SetUpEntries()
103 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry( in SetUpEntries()
107 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry( in SetUpEntries()
111 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry( in SetUpEntries()
113 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry( in SetUpEntries()
116 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry( in SetUpEntries()
118 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry( in SetUpEntries()
120 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry( in SetUpEntries()
[all …]
Dremove_stale_cache_files.cc16 ResourceMetadata* resource_metadata) { in RemoveStaleCacheFiles() argument
17 scoped_ptr<ResourceMetadata::Iterator> it = resource_metadata->GetIterator(); in RemoveStaleCacheFiles()
Dchange_list_processor.h106 explicit ChangeListProcessor(ResourceMetadata* resource_metadata);
124 ResourceMetadata* resource_metadata,
131 ResourceMetadata* resource_metadata,
Dfile_system_unittest.cc229 resource_metadata(new internal::ResourceMetadata( in SetUpTestFileSystem() local
233 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->Initialize()); in SetUpTestFileSystem()
238 resource_metadata->SetLargestChangestamp(changestamp)); in SetUpTestFileSystem()
242 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->GetResourceEntryByPath( in SetUpTestFileSystem()
245 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->RefreshEntry(root)); in SetUpTestFileSystem()
257 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(file1, &local_id)); in SetUpTestFileSystem()
265 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(dir1, &local_id)); in SetUpTestFileSystem()
276 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(file2, &local_id)); in SetUpTestFileSystem()
284 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(dir2, &local_id)); in SetUpTestFileSystem()
295 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(file3, &local_id)); in SetUpTestFileSystem()
Dremove_stale_cache_files.h17 ResourceMetadata* resource_metadata);
Dsearch_metadata.h32 ResourceMetadata* resource_metadata,
Ddirectory_loader.h51 ResourceMetadata* resource_metadata,
Dchange_list_loader.h141 ResourceMetadata* resource_metadata,
Dchange_list_loader.cc293 ResourceMetadata* resource_metadata, in ChangeListLoader() argument
299 resource_metadata_(resource_metadata), in ChangeListLoader()
Ddrive_integration_service.cc105 internal::ResourceMetadata* resource_metadata, in InitializeMetadata() argument
169 FileError error = resource_metadata->Initialize(); in InitializeMetadata()
Dfile_system.h72 internal::ResourceMetadata* resource_metadata,
/external/chromium_org/chrome/
Dchrome_browser_chromeos.gypi302 'browser/chromeos/drive/resource_metadata.cc',
303 'browser/chromeos/drive/resource_metadata.h',
/external/chromium_org/
DWATCHLISTS306 'filepath': 'chrome/browser/chromeos/drive/resource_metadata'