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

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

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 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 "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 "webkit/browser/blob/file_stream_reader.h" 18 #include "storage/browser/blob/file_stream_reader.h"
19 #include "webkit/browser/fileapi/async_file_util.h" 19 #include "storage/browser/fileapi/async_file_util.h"
20 #include "webkit/browser/fileapi/file_system_context.h" 20 #include "storage/browser/fileapi/file_system_context.h"
21 #include "webkit/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 {
27 27
28 // Called on the UI thread after GetRedirectURLForContentsOnUIThread. Obtains 28 // Called on the UI thread after GetRedirectURLForContentsOnUIThread. Obtains
29 // the browser URL from |entry|. |callback| will be called on the IO thread. 29 // the browser URL from |entry|. |callback| will be called on the IO thread.
30 void GetRedirectURLForContentsOnUIThreadWithResourceEntry( 30 void GetRedirectURLForContentsOnUIThreadWithResourceEntry(
31 const storage::URLCallback& callback, 31 const storage::URLCallback& callback,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const storage::FileSystemURL& url, 131 const storage::FileSystemURL& url,
132 const storage::URLCallback& callback) { 132 const storage::URLCallback& callback) {
133 DCHECK_CURRENTLY_ON(BrowserThread::IO); 133 DCHECK_CURRENTLY_ON(BrowserThread::IO);
134 BrowserThread::PostTask( 134 BrowserThread::PostTask(
135 BrowserThread::UI, 135 BrowserThread::UI,
136 FROM_HERE, 136 FROM_HERE,
137 base::Bind(&GetRedirectURLForContentsOnUIThread, url, callback)); 137 base::Bind(&GetRedirectURLForContentsOnUIThread, url, callback));
138 } 138 }
139 139
140 } // namespace drive 140 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/fileapi/async_file_util.cc ('k') | chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698