FileSystemProviderProviderAsyncFileUtilTest() {}
virtual ~FileSystemProviderProviderAsyncFileUtilTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(data_dir_.CreateUniqueTempDir());
profile_manager_.reset(
new TestingProfileManager(TestingBrowserProcess::GetGlobal()));
service->SetFileSystemFactoryForTesting(
base::Bind(&FakeProvidedFileSystem::Create));
- const bool result = service->MountFileSystem(kExtensionId,
- kFileSystemId,
- "Testing File System",
- false /* writable */);
+ const bool result = service->MountFileSystem(
+ kExtensionId, MountOptions(kFileSystemId, "Testing File System"));
ASSERT_TRUE(result);
const ProvidedFileSystemInfo& file_system_info =
service->GetProvidedFileSystem(kExtensionId, kFileSystemId)
ASSERT_TRUE(root_url_.is_valid());
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
// Setting the testing factory to NULL will destroy the created service
// associated with the testing profile.
ServiceFactory::GetInstance()->SetTestingFactory(profile_, NULL);