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