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

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

Issue 1970653005: Fix include path for moved thread_task_runner_handle.h header in storage/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 (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 "storage/browser/fileapi/async_file_util_adapter.h" 5 #include "storage/browser/fileapi/async_file_util_adapter.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/sequenced_task_runner.h" 16 #include "base/sequenced_task_runner.h"
17 #include "base/task_runner_util.h" 17 #include "base/task_runner_util.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "storage/browser/blob/shareable_file_reference.h" 19 #include "storage/browser/blob/shareable_file_reference.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_file_util.h" 21 #include "storage/browser/fileapi/file_system_file_util.h"
22 #include "storage/browser/fileapi/file_system_operation_context.h" 22 #include "storage/browser/fileapi/file_system_operation_context.h"
23 #include "storage/browser/fileapi/file_system_url.h" 23 #include "storage/browser/fileapi/file_system_url.h"
24 #include "storage/common/fileapi/file_system_util.h" 24 #include "storage/common/fileapi/file_system_util.h"
25 25
26 using base::Bind; 26 using base::Bind;
27 using base::Callback; 27 using base::Callback;
28 using base::Owned; 28 using base::Owned;
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 GetFileInfoHelper* helper = new GetFileInfoHelper; 348 GetFileInfoHelper* helper = new GetFileInfoHelper;
349 const bool success = context_ptr->task_runner()->PostTaskAndReply( 349 const bool success = context_ptr->task_runner()->PostTaskAndReply(
350 FROM_HERE, 350 FROM_HERE,
351 Bind(&GetFileInfoHelper::CreateSnapshotFile, Unretained(helper), 351 Bind(&GetFileInfoHelper::CreateSnapshotFile, Unretained(helper),
352 sync_file_util_.get(), base::Owned(context_ptr), url), 352 sync_file_util_.get(), base::Owned(context_ptr), url),
353 Bind(&GetFileInfoHelper::ReplySnapshotFile, Owned(helper), callback)); 353 Bind(&GetFileInfoHelper::ReplySnapshotFile, Owned(helper), callback));
354 DCHECK(success); 354 DCHECK(success);
355 } 355 }
356 356
357 } // namespace storage 357 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/database/database_quota_client.cc ('k') | storage/browser/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698