Home
last modified time | relevance | path

Searched refs:file_closer (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dget_file_for_saving_operation.cc30 scoped_ptr<base::ScopedClosureRunner>* file_closer, in OpenCacheFileForWrite() argument
32 FileError error = cache->OpenForWrite(local_id, file_closer); in OpenCacheFileForWrite()
122 scoped_ptr<base::ScopedClosureRunner>* file_closer = in GetFileForSavingAfterDownload() local
131 file_closer, in GetFileForSavingAfterDownload()
138 base::Owned(file_closer))); in GetFileForSavingAfterDownload()
145 scoped_ptr<base::ScopedClosureRunner>* file_closer, in GetFileForSavingAfterOpenForWrite() argument
166 base::Passed(file_closer))); in GetFileForSavingAfterOpenForWrite()
192 scoped_ptr<base::ScopedClosureRunner> file_closer) { in OnWriteEvent() argument
Dopen_file_operation.cc125 scoped_ptr<base::ScopedClosureRunner>* file_closer = in OpenFileAfterFileDownloaded() local
133 file_closer), in OpenFileAfterFileDownloaded()
139 base::Owned(file_closer))); in OpenFileAfterFileDownloaded()
146 scoped_ptr<base::ScopedClosureRunner>* file_closer, in OpenFileAfterOpenForWrite() argument
161 base::Passed(file_closer))); in OpenFileAfterOpenForWrite()
166 scoped_ptr<base::ScopedClosureRunner> file_closer) { in CloseFile() argument
Dopen_file_operation.h79 scoped_ptr<base::ScopedClosureRunner>* file_closer,
84 scoped_ptr<base::ScopedClosureRunner> file_closer);
Dget_file_for_saving_operation.h77 scoped_ptr<base::ScopedClosureRunner>* file_closer,
85 scoped_ptr<base::ScopedClosureRunner> file_closer);
Dtruncate_operation.cc39 scoped_ptr<base::ScopedClosureRunner> file_closer; in TruncateOnBlockingPool() local
40 FileError error = cache->OpenForWrite(local_id, &file_closer); in TruncateOnBlockingPool()
/external/chromium_org/chrome/browser/chromeos/drive/sync/
Dentry_update_performer_unittest.cc284 scoped_ptr<base::ScopedClosureRunner> file_closer; in TEST_F() local
292 &file_closer), in TEST_F()
296 file_closer.reset(); in TEST_F()
329 scoped_ptr<base::ScopedClosureRunner> file_closer; in TEST_F() local
337 &file_closer), in TEST_F()
357 file_closer.reset(); in TEST_F()
458 scoped_ptr<base::ScopedClosureRunner> file_closer; in TEST_F() local
466 &file_closer), in TEST_F()
485 file_closer.reset(); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_cache_unittest.cc416 scoped_ptr<base::ScopedClosureRunner> file_closer; in TEST_F() local
417 EXPECT_EQ(FILE_ERROR_OK, cache_->OpenForWrite(id, &file_closer)); in TEST_F()
428 file_closer.reset(); in TEST_F()
455 scoped_ptr<base::ScopedClosureRunner> file_closer; in TEST_F() local
456 EXPECT_EQ(FILE_ERROR_OK, cache_->OpenForWrite(id, &file_closer)); in TEST_F()
466 file_closer.reset(); in TEST_F()
Dfile_cache.h103 scoped_ptr<base::ScopedClosureRunner>* file_closer);
Dfile_cache.cc265 scoped_ptr<base::ScopedClosureRunner>* file_closer) { in OpenForWrite() argument
286 file_closer->reset(new base::ScopedClosureRunner( in OpenForWrite()
/external/chromium_org/components/visitedlink/browser/
Dvisitedlink_master.cc543 base::ScopedFILE file_closer(base::OpenFile(filename, "rb+")); in InitFromFile() local
544 if (!file_closer.get()) in InitFromFile()
548 if (!ReadFileHeader(file_closer.get(), &num_entries, &used_count, salt_)) in InitFromFile()
554 if (!ReadFromFile(file_closer.get(), kFileHeaderSize, in InitFromFile()
566 *file_ = file_closer.release(); in InitFromFile()
/external/chromium_org/ppapi/proxy/
Dproxy_channel.cc68 base::File file_closer(handle); in ShareHandleWithRemote() local
Dserialized_handle.cc84 base::File file_closer = IPC::PlatformFileForTransitToFile(descriptor_); in Close() local