Home
last modified time | relevance | path

Searched refs:file_system_ (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/chrome/browser/sync_file_system/local/
Dlocal_file_change_tracker_unittest.cc40 file_system_(GURL("http://example.com"), in LocalFileChangeTrackerTest()
46 file_system_.SetUp(CannedSyncableFileSystem::QUOTA_ENABLED); in SetUp()
56 file_system_.MaybeInitializeFileSystemContext(sync_context_.get())); in SetUp()
65 file_system_.TearDown(); in TearDown()
74 return file_system_.URL(path); in URL()
78 return file_system_.file_system_context(); in file_system_context()
82 return file_system_.backend()->change_tracker(); in change_tracker()
116 CannedSyncableFileSystem file_system_; member in sync_file_system::LocalFileChangeTrackerTest
125 EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); in TEST_F()
131 file_system_.GetChangedURLsInTracker(&urls); in TEST_F()
[all …]
Dsyncable_file_system_unittest.cc39 file_system_(GURL("http://example.com/"), in SyncableFileSystemTest()
47 file_system_.SetUp(CannedSyncableFileSystem::QUOTA_ENABLED); in SetUp()
56 file_system_.MaybeInitializeFileSystemContext(sync_context_.get())); in SetUp()
64 file_system_.TearDown(); in TearDown()
90 return file_system_.URL(path); in URL()
94 return file_system_.file_system_context(); in file_system_context()
98 return file_system_.backend()->change_tracker(); in change_tracker()
104 CannedSyncableFileSystem file_system_; member in sync_file_system::SyncableFileSystemTest
118 file_system_.OpenFileSystem()); in TEST_F()
122 file_system_.CreateDirectory(URL("dir"))); in TEST_F()
[all …]
Dsyncable_file_operation_runner_unittest.cc55 file_system_(GURL("http://example.com"), in SyncableFileOperationRunnerTest()
63 url_request_context_(file_system_.file_system_context()), in SyncableFileOperationRunnerTest()
69 file_system_.SetUp(CannedSyncableFileSystem::QUOTA_ENABLED); in SetUp()
77 file_system_.MaybeInitializeFileSystemContext(sync_context_.get())); in SetUp()
79 ASSERT_EQ(File::FILE_OK, file_system_.OpenFileSystem()); in SetUp()
81 file_system_.CreateDirectory(URL(kParent))); in SetUp()
89 file_system_.TearDown(); in TearDown()
94 return file_system_.URL(path); in URL()
98 return file_system_.backend()->sync_context()->sync_status(); in sync_status()
145 CannedSyncableFileSystem file_system_; member in sync_file_system::SyncableFileOperationRunnerTest
[all …]
Dlocal_file_sync_service_unittest.cc116 file_system_.reset(new CannedSyncableFileSystem( in SetUp()
125 file_system_->SetUp(CannedSyncableFileSystem::QUOTA_ENABLED); in SetUp()
130 GURL(kOrigin), file_system_->file_system_context(), in SetUp()
136 EXPECT_EQ(base::File::FILE_OK, file_system_->OpenFileSystem()); in SetUp()
138 file_system_->backend()->sync_context()-> in SetUp()
144 file_system_->TearDown(); in TearDown()
194 return file_system_->backend()->change_tracker()->num_changes(); in GetNumChangesInTracker()
203 scoped_ptr<CannedSyncableFileSystem> file_system_; member in sync_file_system::LocalFileSyncServiceTest
212 const FileSystemURL kFile(file_system_->URL("file")); in TEST_F()
213 const FileSystemURL kDir(file_system_->URL("dir")); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dsync_file_system_service_unittest.cc135 file_system_.reset(new CannedSyncableFileSystem( in SetUp()
164 file_system_->SetUp(CannedSyncableFileSystem::QUOTA_ENABLED); in SetUp()
169 file_system_->TearDown(); in TearDown()
188 file_system_->file_system_context(), in InitializeApp()
194 EXPECT_EQ(base::File::FILE_OK, file_system_->OpenFileSystem()); in InitializeApp()
233 file_system_->file_system_context(), in InitializeAppForObserverTest()
247 return file_system_->URL(path); in URL()
266 scoped_ptr<CannedSyncableFileSystem> file_system_; member in sync_file_system::SyncFileSystemServiceTest
323 file_system_->backend()->sync_context()-> in TEST_F()
325 file_system_->AddSyncStatusObserver(&status_observer); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_system_unittest.cc133 file_system_.reset(new FileSystem( in SetUpResourceMetadataAndFileSystem()
142 file_system_->AddObserver(mock_directory_observer_.get()); in SetUpResourceMetadataAndFileSystem()
145 file_system_->sync_client_for_testing()->set_delay_for_testing( in SetUpResourceMetadataAndFileSystem()
152 file_system_->change_list_loader_for_testing()->LoadIfNeeded( in LoadFullResourceList()
163 file_system_->GetResourceEntry( in GetResourceEntrySync()
176 file_system_->ReadDirectory( in ReadDirectorySync()
318 scoped_ptr<FileSystem> file_system_; member in drive::FileSystemTest
328 file_system_->Copy(src_file_path, in TEST_F()
362 file_system_->Move(src_file_path, in TEST_F()
392 file_system_->Remove( in TEST_F()
[all …]
Ddebug_info_collector.cc59 file_system_(file_system), in DebugInfoCollector()
62 DCHECK(file_system_); in DebugInfoCollector()
127 file_system_->GetMetadata(callback); in GetMetadata()
Ddownload_handler.cc114 : file_system_(file_system), in DownloadHandler()
166 file_system_->CreateDirectory( in SubstituteDriveDownloadPath()
217 file_system_->GetResourceEntry( in CheckForFileExistence()
304 file_system_, in UploadDownloadItem()
Ddrive_integration_service.h109 FileSystemInterface* file_system() { return file_system_.get(); } in file_system()
179 scoped_ptr<FileSystemInterface> file_system_; variable
Ddebug_info_collector.h57 FileSystemInterface* file_system_; // Not owned. variable
Ddrive_integration_service.cc266 file_system_.reset( in DriveIntegrationService()
305 file_system_.reset(); in Shutdown()
376 file_system_->CheckForUpdates(); in OnNotificationReceived()
404 file_system_->Reset(base::Bind( in ClearCacheAndRemountFileSystem()
Ddownload_handler.h106 FileSystemInterface* file_system_; // Owned by DriveIntegrationService. variable
/external/chromium_org/chrome/browser/chromeos/file_system_provider/
Dmount_path_util.h42 ProvidedFileSystemInterface* file_system() const { return file_system_; } in file_system()
47 ProvidedFileSystemInterface* file_system_; variable
65 ProvidedFileSystemInterface* file_system() const { return file_system_; } in file_system()
71 ProvidedFileSystemInterface* file_system_; variable
Dmount_path_util.cc81 : url_(url), file_system_(NULL) { in FileSystemURLParser()
116 file_system_ = file_system; in Parse()
137 : profile_(profile), local_path_(local_path), file_system_(NULL) { in LocalPathParser()
168 file_system_ = file_system; in Parse()
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
Dfile_io.cc60 file_system_(this, PP_FILESYSTEMTYPE_LOCALPERSISTENT), in FileIoInstance()
81 pp::FileSystem file_system_; member in FileIoInstance
143 int32_t rv = file_system_.Open(1024 * 1024, pp::BlockUntilComplete()); in OpenFileSystem()
160 pp::FileRef ref(file_system_, file_name.c_str()); in Save()
209 pp::FileRef ref(file_system_, file_name.c_str()); in Load()
262 pp::FileRef ref(file_system_, file_name.c_str()); in Delete()
281 pp::FileRef ref(file_system_, dir_name.c_str()); in List()
313 pp::FileRef ref(file_system_, dir_name.c_str()); in MakeDir()
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
Dfile_stream_reader.cc56 file_system_ = parser.file_system()->GetWeakPtr(); in OpenFileOnUIThread()
69 if (file_system_.get() && file_handle_ != -1) { in CloseFileOnUIThread()
72 file_system_->CloseFile(file_handle_, base::Bind(&EmptyStatusCallback)); in CloseFileOnUIThread()
88 if (!file_system_.get()) { in ReadFileOnUIThread()
97 abort_callback_ = file_system_->ReadFile( in ReadFileOnUIThread()
113 if (!file_system_.get()) { in GetMetadataOnUIThread()
123 abort_callback_ = file_system_->GetMetadata( in GetMetadataOnUIThread()
205 base::WeakPtr<ProvidedFileSystemInterface> file_system_; member in chromeos::file_system_provider::FileStreamReader::OperationRunner
Dfile_stream_writer.cc49 file_system_ = parser.file_system()->GetWeakPtr(); in OpenFileOnUIThread()
61 if (file_system_.get() && file_handle_ != -1) { in CloseFileOnUIThread()
64 file_system_->CloseFile(file_handle_, base::Bind(&EmptyStatusCallback)); in CloseFileOnUIThread()
78 if (!file_system_.get()) { in WriteFileOnUIThread()
86 abort_callback_ = file_system_->WriteFile( in WriteFileOnUIThread()
152 base::WeakPtr<ProvidedFileSystemInterface> file_system_; member in chromeos::file_system_provider::FileStreamWriter::OperationRunner
/external/chromium_org/media/cdm/ppapi/
Dcdm_file_io_impl.cc267 file_system_ = file_system; in OnFileSystemOpened()
279 file_ref_ = pp::FileRef(file_system_, file_name_.c_str()); in OpenFileForRead()
391 file_ref_ = pp::FileRef(file_system_, temp_file_name.c_str()); in OpenTempFileForWrite()
480 file_ref_.Rename(pp::FileRef(file_system_, file_name_.c_str()), cb), in RenameTempFile()
Dcdm_file_io_impl.h178 pp::FileSystem file_system_; variable
/external/chromium_org/ppapi/proxy/
Dnacl_message_scanner.h93 FileSystem* file_system_; variable
Dnacl_message_scanner.cc258 : file_system_(file_system), in FileIO()
274 if (!file_system_->UpdateReservedQuota(-amount)) in Grow()
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Dfile-io.rst236 int32_t rv = file_system_.Open(1024 * 1024, pp::BlockUntilComplete());
303 pp::FileRef ref(file_system_, file_name.c_str());
371 pp::FileRef ref(file_system_, file_name.c_str());
452 pp::FileRef ref(file_system_, file_name.c_str());
484 pp::FileRef ref(file_system_, dir_name.c_str());
541 pp::FileRef ref(file_system_, dir_name.c_str());