Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc

Issue 1190203002: Move (most of) chrome/browser/drive into components/drive/service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_interface.h" 10 #include "chrome/browser/chromeos/drive/file_system_interface.h"
11 #include "chrome/browser/chromeos/drive/file_system_util.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 "components/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"
22 22
23 using content::BrowserThread; 23 using content::BrowserThread;
24 24
25 namespace drive { 25 namespace drive {
26 namespace { 26 namespace {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698