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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 return scoped_ptr<storage::FileStreamWriter>( | 62 return scoped_ptr<storage::FileStreamWriter>( |
63 new FileStreamWriter(url, offset)); | 63 new FileStreamWriter(url, offset)); |
64 } | 64 } |
65 | 65 |
66 storage::WatcherManager* BackendDelegate::GetWatcherManager( | 66 storage::WatcherManager* BackendDelegate::GetWatcherManager( |
67 const storage::FileSystemURL& url) { | 67 const storage::FileSystemURL& url) { |
68 NOTIMPLEMENTED(); | 68 NOTIMPLEMENTED(); |
69 return NULL; | 69 return NULL; |
70 } | 70 } |
71 | 71 |
| 72 void BackendDelegate::GetRedirectURLForContents( |
| 73 const storage::FileSystemURL& url, |
| 74 const storage::URLCallback& callback) { |
| 75 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
| 76 DCHECK_EQ(storage::kFileSystemTypeProvided, url.type()); |
| 77 callback.Run(GURL()); |
| 78 } |
| 79 |
72 } // namespace file_system_provider | 80 } // namespace file_system_provider |
73 } // namespace chromeos | 81 } // namespace chromeos |
OLD | NEW |