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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 storage::FileSystemQuotaUtil* PrivetFileSystemBackend::GetQuotaUtil() { | 48 storage::FileSystemQuotaUtil* PrivetFileSystemBackend::GetQuotaUtil() { |
49 // No quota support. | 49 // No quota support. |
50 return NULL; | 50 return NULL; |
51 } | 51 } |
52 | 52 |
53 storage::AsyncFileUtil* PrivetFileSystemBackend::GetAsyncFileUtil( | 53 storage::AsyncFileUtil* PrivetFileSystemBackend::GetAsyncFileUtil( |
54 storage::FileSystemType type) { | 54 storage::FileSystemType type) { |
55 return async_util_.get(); | 55 return async_util_.get(); |
56 } | 56 } |
57 | 57 |
| 58 storage::WatcherManager* PrivetFileSystemBackend::GetWatcherManager( |
| 59 storage::FileSystemType type) { |
| 60 return NULL; |
| 61 } |
| 62 |
58 storage::CopyOrMoveFileValidatorFactory* | 63 storage::CopyOrMoveFileValidatorFactory* |
59 PrivetFileSystemBackend::GetCopyOrMoveFileValidatorFactory( | 64 PrivetFileSystemBackend::GetCopyOrMoveFileValidatorFactory( |
60 storage::FileSystemType type, | 65 storage::FileSystemType type, |
61 base::File::Error* error_code) { | 66 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 storage::FileSystemOperation* | 72 storage::FileSystemOperation* |
(...skipping 28 matching lines...) Expand all Loading... |
96 | 101 |
97 scoped_ptr<storage::FileStreamWriter> | 102 scoped_ptr<storage::FileStreamWriter> |
98 PrivetFileSystemBackend::CreateFileStreamWriter( | 103 PrivetFileSystemBackend::CreateFileStreamWriter( |
99 const storage::FileSystemURL& url, | 104 const storage::FileSystemURL& url, |
100 int64 offset, | 105 int64 offset, |
101 storage::FileSystemContext* context) const { | 106 storage::FileSystemContext* context) const { |
102 return scoped_ptr<storage::FileStreamWriter>(); | 107 return scoped_ptr<storage::FileStreamWriter>(); |
103 } | 108 } |
104 | 109 |
105 } // namespace local_discovery | 110 } // namespace local_discovery |
OLD | NEW |