| 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 #include "chrome/browser/local_discovery/storage/privet_filesystem_backend.h" | 5 #include "chrome/browser/local_discovery/storage/privet_filesystem_backend.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "chrome/browser/local_discovery/storage/privet_filesystem_async_util.h" | 9 #include "chrome/browser/local_discovery/storage/privet_filesystem_async_util.h" |
| 10 #include "chrome/browser/local_discovery/storage/privet_filesystem_constants.h" | 10 #include "chrome/browser/local_discovery/storage/privet_filesystem_constants.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 fileapi::FileSystemQuotaUtil* PrivetFileSystemBackend::GetQuotaUtil() { | 49 fileapi::FileSystemQuotaUtil* PrivetFileSystemBackend::GetQuotaUtil() { |
| 50 // No quota support. | 50 // No quota support. |
| 51 return NULL; | 51 return NULL; |
| 52 } | 52 } |
| 53 | 53 |
| 54 fileapi::AsyncFileUtil* PrivetFileSystemBackend::GetAsyncFileUtil( | 54 fileapi::AsyncFileUtil* PrivetFileSystemBackend::GetAsyncFileUtil( |
| 55 fileapi::FileSystemType type) { | 55 fileapi::FileSystemType type) { |
| 56 return async_util_.get(); | 56 return async_util_.get(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 fileapi::WatcherManager* PrivetFileSystemBackend::GetWatcherManager( |
| 60 fileapi::FileSystemType type) { |
| 61 return NULL; |
| 62 } |
| 63 |
| 59 fileapi::CopyOrMoveFileValidatorFactory* | 64 fileapi::CopyOrMoveFileValidatorFactory* |
| 60 PrivetFileSystemBackend::GetCopyOrMoveFileValidatorFactory( | 65 PrivetFileSystemBackend::GetCopyOrMoveFileValidatorFactory( |
| 61 fileapi::FileSystemType type, base::File::Error* error_code) { | 66 fileapi::FileSystemType type, base::File::Error* error_code) { |
| 62 DCHECK(error_code); | 67 DCHECK(error_code); |
| 63 *error_code = base::File::FILE_OK; | 68 *error_code = base::File::FILE_OK; |
| 64 return NULL; | 69 return NULL; |
| 65 } | 70 } |
| 66 | 71 |
| 67 fileapi::FileSystemOperation* | 72 fileapi::FileSystemOperation* |
| 68 PrivetFileSystemBackend::CreateFileSystemOperation( | 73 PrivetFileSystemBackend::CreateFileSystemOperation( |
| (...skipping 21 matching lines...) Expand all Loading... |
| 90 | 95 |
| 91 scoped_ptr<fileapi::FileStreamWriter> | 96 scoped_ptr<fileapi::FileStreamWriter> |
| 92 PrivetFileSystemBackend::CreateFileStreamWriter( | 97 PrivetFileSystemBackend::CreateFileStreamWriter( |
| 93 const fileapi::FileSystemURL& url, | 98 const fileapi::FileSystemURL& url, |
| 94 int64 offset, | 99 int64 offset, |
| 95 fileapi::FileSystemContext* context) const { | 100 fileapi::FileSystemContext* context) const { |
| 96 return scoped_ptr<fileapi::FileStreamWriter>(); | 101 return scoped_ptr<fileapi::FileStreamWriter>(); |
| 97 } | 102 } |
| 98 | 103 |
| 99 } // namespace local_discovery | 104 } // namespace local_discovery |
| OLD | NEW |