| 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_PROVIDED_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // Used by unit tests. | 88 // Used by unit tests. |
| 89 void SetNotificationManagerForTesting( | 89 void SetNotificationManagerForTesting( |
| 90 scoped_ptr<NotificationManagerInterface> notification_manager); | 90 scoped_ptr<NotificationManagerInterface> notification_manager); |
| 91 | 91 |
| 92 // ProvidedFileSystemInterface overrides. | 92 // ProvidedFileSystemInterface overrides. |
| 93 AbortCallback RequestUnmount( | 93 AbortCallback RequestUnmount( |
| 94 const storage::AsyncFileUtil::StatusCallback& callback) override; | 94 const storage::AsyncFileUtil::StatusCallback& callback) override; |
| 95 AbortCallback GetMetadata(const base::FilePath& entry_path, | 95 AbortCallback GetMetadata(const base::FilePath& entry_path, |
| 96 MetadataFieldMask fields, | 96 MetadataFieldMask fields, |
| 97 const GetMetadataCallback& callback) override; | 97 const GetMetadataCallback& callback) override; |
| 98 AbortCallback GetActions(const base::FilePath& entry_path, | 98 AbortCallback GetActions(const std::vector<base::FilePath>& entry_paths, |
| 99 const GetActionsCallback& callback) override; | 99 const GetActionsCallback& callback) override; |
| 100 AbortCallback ExecuteAction( | 100 AbortCallback ExecuteAction( |
| 101 const base::FilePath& entry_path, | 101 const std::vector<base::FilePath>& entry_paths, |
| 102 const std::string& action_id, | 102 const std::string& action_id, |
| 103 const storage::AsyncFileUtil::StatusCallback& callback) override; | 103 const storage::AsyncFileUtil::StatusCallback& callback) override; |
| 104 AbortCallback ReadDirectory( | 104 AbortCallback ReadDirectory( |
| 105 const base::FilePath& directory_path, | 105 const base::FilePath& directory_path, |
| 106 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; | 106 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; |
| 107 AbortCallback OpenFile(const base::FilePath& file_path, | 107 AbortCallback OpenFile(const base::FilePath& file_path, |
| 108 OpenFileMode mode, | 108 OpenFileMode mode, |
| 109 const OpenFileCallback& callback) override; | 109 const OpenFileCallback& callback) override; |
| 110 AbortCallback CloseFile( | 110 AbortCallback CloseFile( |
| 111 int file_handle, | 111 int file_handle, |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 base::ObserverList<ProvidedFileSystemObserver> observers_; | 252 base::ObserverList<ProvidedFileSystemObserver> observers_; |
| 253 | 253 |
| 254 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_; | 254 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_; |
| 255 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); | 255 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 } // namespace file_system_provider | 258 } // namespace file_system_provider |
| 259 } // namespace chromeos | 259 } // namespace chromeos |
| 260 | 260 |
| 261 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 261 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
| OLD | NEW |