| 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/drive/fileapi/file_system_backend_delegate.h" | 5 #include "chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/chromeos/drive/file_system_core_util.h" |
| 10 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 11 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
| 11 #include "chrome/browser/chromeos/drive/file_system_util.h" | |
| 12 #include "chrome/browser/chromeos/drive/fileapi/async_file_util.h" | 12 #include "chrome/browser/chromeos/drive/fileapi/async_file_util.h" |
| 13 #include "chrome/browser/chromeos/drive/fileapi/fileapi_worker.h" | 13 #include "chrome/browser/chromeos/drive/fileapi/fileapi_worker.h" |
| 14 #include "chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h
" | 14 #include "chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h
" |
| 15 #include "chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h
" | 15 #include "chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h
" |
| 16 #include "chrome/browser/drive/drive_api_util.h" | 16 #include "chrome/browser/drive/drive_api_util.h" |
| 17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 18 #include "storage/browser/fileapi/async_file_util.h" | 18 #include "storage/browser/fileapi/async_file_util.h" |
| 19 #include "storage/browser/fileapi/file_stream_reader.h" | 19 #include "storage/browser/fileapi/file_stream_reader.h" |
| 20 #include "storage/browser/fileapi/file_system_context.h" | 20 #include "storage/browser/fileapi/file_system_context.h" |
| 21 #include "storage/browser/fileapi/file_system_url.h" | 21 #include "storage/browser/fileapi/file_system_url.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 const storage::FileSystemURL& url, | 138 const storage::FileSystemURL& url, |
| 139 const storage::URLCallback& callback) { | 139 const storage::URLCallback& callback) { |
| 140 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 140 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
| 141 BrowserThread::PostTask( | 141 BrowserThread::PostTask( |
| 142 BrowserThread::UI, | 142 BrowserThread::UI, |
| 143 FROM_HERE, | 143 FROM_HERE, |
| 144 base::Bind(&GetRedirectURLForContentsOnUIThread, url, callback)); | 144 base::Bind(&GetRedirectURLForContentsOnUIThread, url, callback)); |
| 145 } | 145 } |
| 146 | 146 |
| 147 } // namespace drive | 147 } // namespace drive |
| OLD | NEW |