| 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 "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 9 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
| 10 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 10 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 int file_handle, | 54 int file_handle, |
| 55 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 55 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
| 56 virtual AbortCallback ReadFile( | 56 virtual AbortCallback ReadFile( |
| 57 int file_handle, | 57 int file_handle, |
| 58 net::IOBuffer* buffer, | 58 net::IOBuffer* buffer, |
| 59 int64 offset, | 59 int64 offset, |
| 60 int length, | 60 int length, |
| 61 const ReadChunkReceivedCallback& callback) OVERRIDE; | 61 const ReadChunkReceivedCallback& callback) OVERRIDE; |
| 62 virtual AbortCallback CreateDirectory( | 62 virtual AbortCallback CreateDirectory( |
| 63 const base::FilePath& directory_path, | 63 const base::FilePath& directory_path, |
| 64 bool exclusive, | |
| 65 bool recursive, | 64 bool recursive, |
| 66 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 65 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
| 67 virtual AbortCallback DeleteEntry( | 66 virtual AbortCallback DeleteEntry( |
| 68 const base::FilePath& entry_path, | 67 const base::FilePath& entry_path, |
| 69 bool recursive, | 68 bool recursive, |
| 70 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 69 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
| 71 virtual AbortCallback CreateFile( | 70 virtual AbortCallback CreateFile( |
| 72 const base::FilePath& file_path, | 71 const base::FilePath& file_path, |
| 73 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 72 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
| 74 virtual AbortCallback CopyEntry( | 73 virtual AbortCallback CopyEntry( |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 RequestManager request_manager_; | 106 RequestManager request_manager_; |
| 108 | 107 |
| 109 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_; | 108 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_; |
| 110 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); | 109 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); |
| 111 }; | 110 }; |
| 112 | 111 |
| 113 } // namespace file_system_provider | 112 } // namespace file_system_provider |
| 114 } // namespace chromeos | 113 } // namespace chromeos |
| 115 | 114 |
| 116 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 115 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
| OLD | NEW |