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::GetURLForBrowserTab( | |
73 const storage::FileSystemURL& url, | |
74 const URLCallback& callback) { | |
75 DCHECK_CURRENTLY_ON(BrowserThread::IO); | |
mtomasz
2014/09/04 05:30:01
nit: Could you add a check for url type like in #6
hirono
2014/09/04 06:10:58
Done.
| |
76 callback.Run(GURL()); | |
77 } | |
78 | |
72 } // namespace file_system_provider | 79 } // namespace file_system_provider |
73 } // namespace chromeos | 80 } // namespace chromeos |
OLD | NEW |