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

Side by Side Diff: webkit/browser/fileapi/async_file_util_adapter.cc

Issue 15746017: Move webkit/blob to new locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "webkit/browser/fileapi/async_file_util_adapter.h" 5 #include "webkit/browser/fileapi/async_file_util_adapter.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/sequenced_task_runner.h" 8 #include "base/sequenced_task_runner.h"
9 #include "base/task_runner_util.h" 9 #include "base/task_runner_util.h"
10 #include "webkit/blob/shareable_file_reference.h"
11 #include "webkit/browser/fileapi/file_system_context.h" 10 #include "webkit/browser/fileapi/file_system_context.h"
12 #include "webkit/browser/fileapi/file_system_file_util.h" 11 #include "webkit/browser/fileapi/file_system_file_util.h"
13 #include "webkit/browser/fileapi/file_system_operation_context.h" 12 #include "webkit/browser/fileapi/file_system_operation_context.h"
14 #include "webkit/browser/fileapi/file_system_url.h" 13 #include "webkit/browser/fileapi/file_system_url.h"
14 #include "webkit/common/blob/shareable_file_reference.h"
15 #include "webkit/common/fileapi/file_system_util.h" 15 #include "webkit/common/fileapi/file_system_util.h"
16 16
17 using base::Bind; 17 using base::Bind;
18 using base::Callback; 18 using base::Callback;
19 using base::Owned; 19 using base::Owned;
20 using base::PlatformFileError; 20 using base::PlatformFileError;
21 using base::Unretained; 21 using base::Unretained;
22 using webkit_blob::ShareableFileReference; 22 using webkit_blob::ShareableFileReference;
23 23
24 namespace fileapi { 24 namespace fileapi {
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 const CreateSnapshotFileCallback& callback) { 298 const CreateSnapshotFileCallback& callback) {
299 GetFileInfoHelper* helper = new GetFileInfoHelper; 299 GetFileInfoHelper* helper = new GetFileInfoHelper;
300 return context->task_runner()->PostTaskAndReply( 300 return context->task_runner()->PostTaskAndReply(
301 FROM_HERE, 301 FROM_HERE,
302 Bind(&GetFileInfoHelper::CreateSnapshotFile, Unretained(helper), 302 Bind(&GetFileInfoHelper::CreateSnapshotFile, Unretained(helper),
303 sync_file_util_.get(), context, url), 303 sync_file_util_.get(), context, url),
304 Bind(&GetFileInfoHelper::ReplySnapshotFile, Owned(helper), callback)); 304 Bind(&GetFileInfoHelper::ReplySnapshotFile, Owned(helper), callback));
305 } 305 }
306 306
307 } // namespace fileapi 307 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/chromeos/fileapi/remote_file_stream_writer.cc ('k') | webkit/browser/fileapi/cross_operation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698