| 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, |
| 99 const GetActionsCallback& callback) override; |
| 98 AbortCallback ReadDirectory( | 100 AbortCallback ReadDirectory( |
| 99 const base::FilePath& directory_path, | 101 const base::FilePath& directory_path, |
| 100 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; | 102 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; |
| 101 AbortCallback OpenFile(const base::FilePath& file_path, | 103 AbortCallback OpenFile(const base::FilePath& file_path, |
| 102 OpenFileMode mode, | 104 OpenFileMode mode, |
| 103 const OpenFileCallback& callback) override; | 105 const OpenFileCallback& callback) override; |
| 104 AbortCallback CloseFile( | 106 AbortCallback CloseFile( |
| 105 int file_handle, | 107 int file_handle, |
| 106 const storage::AsyncFileUtil::StatusCallback& callback) override; | 108 const storage::AsyncFileUtil::StatusCallback& callback) override; |
| 107 AbortCallback ReadFile(int file_handle, | 109 AbortCallback ReadFile(int file_handle, |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 base::ObserverList<ProvidedFileSystemObserver> observers_; | 245 base::ObserverList<ProvidedFileSystemObserver> observers_; |
| 244 | 246 |
| 245 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_; | 247 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_; |
| 246 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); | 248 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); |
| 247 }; | 249 }; |
| 248 | 250 |
| 249 } // namespace file_system_provider | 251 } // namespace file_system_provider |
| 250 } // namespace chromeos | 252 } // namespace chromeos |
| 251 | 253 |
| 252 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 254 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
| OLD | NEW |