| 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, | 89 AbortCallback GetActions(const std::vector<base::FilePath>& entry_paths, |
| 90 const GetActionsCallback& callback) override; | 90 const GetActionsCallback& callback) override; |
| 91 AbortCallback ExecuteAction( | 91 AbortCallback ExecuteAction( |
| 92 const base::FilePath& entry_path, | 92 const std::vector<base::FilePath>& entry_paths, |
| 93 const std::string& action_id, | 93 const std::string& action_id, |
| 94 const storage::AsyncFileUtil::StatusCallback& callback) override; | 94 const storage::AsyncFileUtil::StatusCallback& callback) override; |
| 95 AbortCallback ReadDirectory( | 95 AbortCallback ReadDirectory( |
| 96 const base::FilePath& directory_path, | 96 const base::FilePath& directory_path, |
| 97 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; | 97 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; |
| 98 AbortCallback OpenFile(const base::FilePath& file_path, | 98 AbortCallback OpenFile(const base::FilePath& file_path, |
| 99 OpenFileMode mode, | 99 OpenFileMode mode, |
| 100 const OpenFileCallback& callback) override; | 100 const OpenFileCallback& callback) override; |
| 101 AbortCallback CloseFile( | 101 AbortCallback CloseFile( |
| 102 int file_handle, | 102 int file_handle, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 Watchers watchers_; | 195 Watchers watchers_; |
| 196 | 196 |
| 197 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_; | 197 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_; |
| 198 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem); | 198 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem); |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 } // namespace file_system_provider | 201 } // namespace file_system_provider |
| 202 } // namespace chromeos | 202 } // namespace chromeos |
| 203 | 203 |
| 204 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE
M_H_ | 204 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE
M_H_ |
| OLD | NEW |