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/fileapi/mtp_file_system_backend_delegate.h" | 5 #include "chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h" |
6 #include "chrome/browser/media_galleries/fileapi/device_media_async_file_util.h" | 6 #include "chrome/browser/media_galleries/fileapi/device_media_async_file_util.h" |
7 #include "webkit/browser/blob/file_stream_reader.h" | 7 #include "webkit/browser/blob/file_stream_reader.h" |
8 #include "webkit/browser/fileapi/file_stream_writer.h" | 8 #include "webkit/browser/fileapi/file_stream_writer.h" |
9 #include "webkit/browser/fileapi/file_system_url.h" | 9 #include "webkit/browser/fileapi/file_system_url.h" |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // TODO(kinaba): support writing. | 49 // TODO(kinaba): support writing. |
50 return scoped_ptr<storage::FileStreamWriter>(); | 50 return scoped_ptr<storage::FileStreamWriter>(); |
51 } | 51 } |
52 | 52 |
53 storage::WatcherManager* MTPFileSystemBackendDelegate::GetWatcherManager( | 53 storage::WatcherManager* MTPFileSystemBackendDelegate::GetWatcherManager( |
54 const storage::FileSystemURL& url) { | 54 const storage::FileSystemURL& url) { |
55 NOTIMPLEMENTED(); | 55 NOTIMPLEMENTED(); |
56 return NULL; | 56 return NULL; |
57 } | 57 } |
58 | 58 |
| 59 void MTPFileSystemBackendDelegate::GetRedirectURLForContents( |
| 60 const storage::FileSystemURL& url, |
| 61 const storage::URLCallback& callback) { |
| 62 DCHECK_EQ(storage::kFileSystemTypeDeviceMediaAsFileStorage, url.type()); |
| 63 |
| 64 callback.Run(GURL()); |
| 65 } |
| 66 |
59 } // namespace chromeos | 67 } // namespace chromeos |
OLD | NEW |