| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H
_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H
_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H
_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H
_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 const FakeEntry* GetEntry(const base::FilePath& entry_path) const; | 79 const FakeEntry* GetEntry(const base::FilePath& entry_path) const; |
| 80 | 80 |
| 81 // ProvidedFileSystemInterface overrides. | 81 // ProvidedFileSystemInterface overrides. |
| 82 AbortCallback RequestUnmount( | 82 AbortCallback RequestUnmount( |
| 83 const storage::AsyncFileUtil::StatusCallback& callback) override; | 83 const storage::AsyncFileUtil::StatusCallback& callback) override; |
| 84 AbortCallback GetMetadata( | 84 AbortCallback GetMetadata( |
| 85 const base::FilePath& entry_path, | 85 const base::FilePath& entry_path, |
| 86 ProvidedFileSystemInterface::MetadataFieldMask fields, | 86 ProvidedFileSystemInterface::MetadataFieldMask fields, |
| 87 const ProvidedFileSystemInterface::GetMetadataCallback& callback) | 87 const ProvidedFileSystemInterface::GetMetadataCallback& callback) |
| 88 override; | 88 override; |
| 89 AbortCallback GetActions(const base::FilePath& entry_path, |
| 90 const GetActionsCallback& callback) override; |
| 89 AbortCallback ReadDirectory( | 91 AbortCallback ReadDirectory( |
| 90 const base::FilePath& directory_path, | 92 const base::FilePath& directory_path, |
| 91 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; | 93 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; |
| 92 AbortCallback OpenFile(const base::FilePath& file_path, | 94 AbortCallback OpenFile(const base::FilePath& file_path, |
| 93 OpenFileMode mode, | 95 OpenFileMode mode, |
| 94 const OpenFileCallback& callback) override; | 96 const OpenFileCallback& callback) override; |
| 95 AbortCallback CloseFile( | 97 AbortCallback CloseFile( |
| 96 int file_handle, | 98 int file_handle, |
| 97 const storage::AsyncFileUtil::StatusCallback& callback) override; | 99 const storage::AsyncFileUtil::StatusCallback& callback) override; |
| 98 AbortCallback ReadFile(int file_handle, | 100 AbortCallback ReadFile(int file_handle, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 Watchers watchers_; | 191 Watchers watchers_; |
| 190 | 192 |
| 191 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_; | 193 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_; |
| 192 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem); | 194 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem); |
| 193 }; | 195 }; |
| 194 | 196 |
| 195 } // namespace file_system_provider | 197 } // namespace file_system_provider |
| 196 } // namespace chromeos | 198 } // namespace chromeos |
| 197 | 199 |
| 198 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE
M_H_ | 200 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE
M_H_ |
| OLD | NEW |