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/chromeos/file_system_provider/fileapi/backend_delegate.
h" | 5 #include "chrome/browser/chromeos/file_system_provider/fileapi/backend_delegate.
h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_st
ream_reader.h" | 8 #include "chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_st
ream_reader.h" |
9 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reade
r.h" | 9 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reade
r.h" |
10 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_write
r.h" | 10 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_write
r.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const fileapi::FileSystemURL& url, | 58 const fileapi::FileSystemURL& url, |
59 int64 offset, | 59 int64 offset, |
60 fileapi::FileSystemContext* context) { | 60 fileapi::FileSystemContext* context) { |
61 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 61 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
62 DCHECK_EQ(fileapi::kFileSystemTypeProvided, url.type()); | 62 DCHECK_EQ(fileapi::kFileSystemTypeProvided, url.type()); |
63 | 63 |
64 return scoped_ptr<fileapi::FileStreamWriter>( | 64 return scoped_ptr<fileapi::FileStreamWriter>( |
65 new FileStreamWriter(url, offset)); | 65 new FileStreamWriter(url, offset)); |
66 } | 66 } |
67 | 67 |
| 68 fileapi::WatcherManager* BackendDelegate::GetWatcherManager( |
| 69 const fileapi::FileSystemURL& url) { |
| 70 NOTIMPLEMENTED(); |
| 71 return NULL; |
| 72 } |
| 73 |
68 } // namespace file_system_provider | 74 } // namespace file_system_provider |
69 } // namespace chromeos | 75 } // namespace chromeos |
OLD | NEW |