| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 bool PrivetFileSystemBackend::HasInplaceCopyImplementation( | 83 bool PrivetFileSystemBackend::HasInplaceCopyImplementation( |
| 84 storage::FileSystemType type) const { | 84 storage::FileSystemType type) const { |
| 85 return true; | 85 return true; |
| 86 } | 86 } |
| 87 | 87 |
| 88 scoped_ptr<storage::FileStreamReader> | 88 scoped_ptr<storage::FileStreamReader> |
| 89 PrivetFileSystemBackend::CreateFileStreamReader( | 89 PrivetFileSystemBackend::CreateFileStreamReader( |
| 90 const storage::FileSystemURL& url, | 90 const storage::FileSystemURL& url, |
| 91 int64 offset, | 91 int64 offset, |
| 92 int64 length, |
| 92 const base::Time& expected_modification_time, | 93 const base::Time& expected_modification_time, |
| 93 storage::FileSystemContext* context) const { | 94 storage::FileSystemContext* context) const { |
| 94 return scoped_ptr<storage::FileStreamReader>(); | 95 return scoped_ptr<storage::FileStreamReader>(); |
| 95 } | 96 } |
| 96 | 97 |
| 97 scoped_ptr<storage::FileStreamWriter> | 98 scoped_ptr<storage::FileStreamWriter> |
| 98 PrivetFileSystemBackend::CreateFileStreamWriter( | 99 PrivetFileSystemBackend::CreateFileStreamWriter( |
| 99 const storage::FileSystemURL& url, | 100 const storage::FileSystemURL& url, |
| 100 int64 offset, | 101 int64 offset, |
| 101 storage::FileSystemContext* context) const { | 102 storage::FileSystemContext* context) const { |
| 102 return scoped_ptr<storage::FileStreamWriter>(); | 103 return scoped_ptr<storage::FileStreamWriter>(); |
| 103 } | 104 } |
| 104 | 105 |
| 105 } // namespace local_discovery | 106 } // namespace local_discovery |
| OLD | NEW |