| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "storage/browser/fileapi/isolated_file_system_backend.h" | 5 #include "storage/browser/fileapi/isolated_file_system_backend.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 DCHECK(error_code); | 103 DCHECK(error_code); |
| 104 *error_code = base::File::FILE_OK; | 104 *error_code = base::File::FILE_OK; |
| 105 return NULL; | 105 return NULL; |
| 106 } | 106 } |
| 107 | 107 |
| 108 FileSystemOperation* IsolatedFileSystemBackend::CreateFileSystemOperation( | 108 FileSystemOperation* IsolatedFileSystemBackend::CreateFileSystemOperation( |
| 109 const FileSystemURL& url, | 109 const FileSystemURL& url, |
| 110 FileSystemContext* context, | 110 FileSystemContext* context, |
| 111 base::File::Error* error_code) const { | 111 base::File::Error* error_code) const { |
| 112 return FileSystemOperation::Create( | 112 return FileSystemOperation::Create( |
| 113 url, context, base::WrapUnique(new FileSystemOperationContext(context))); | 113 url, context, base::MakeUnique<FileSystemOperationContext>(context)); |
| 114 } | 114 } |
| 115 | 115 |
| 116 bool IsolatedFileSystemBackend::SupportsStreaming( | 116 bool IsolatedFileSystemBackend::SupportsStreaming( |
| 117 const storage::FileSystemURL& url) const { | 117 const storage::FileSystemURL& url) const { |
| 118 return false; | 118 return false; |
| 119 } | 119 } |
| 120 | 120 |
| 121 bool IsolatedFileSystemBackend::HasInplaceCopyImplementation( | 121 bool IsolatedFileSystemBackend::HasInplaceCopyImplementation( |
| 122 storage::FileSystemType type) const { | 122 storage::FileSystemType type) const { |
| 123 DCHECK(type == kFileSystemTypeNativeLocal || type == kFileSystemTypeDragged || | 123 DCHECK(type == kFileSystemTypeNativeLocal || type == kFileSystemTypeDragged || |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 FileSystemType type) const { | 162 FileSystemType type) const { |
| 163 return NULL; | 163 return NULL; |
| 164 } | 164 } |
| 165 | 165 |
| 166 const AccessObserverList* IsolatedFileSystemBackend::GetAccessObservers( | 166 const AccessObserverList* IsolatedFileSystemBackend::GetAccessObservers( |
| 167 FileSystemType type) const { | 167 FileSystemType type) const { |
| 168 return NULL; | 168 return NULL; |
| 169 } | 169 } |
| 170 | 170 |
| 171 } // namespace storage | 171 } // namespace storage |
| OLD | NEW |