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/async_file_util.h" | 5 #include "chrome/browser/chromeos/drive/fileapi/async_file_util.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/thread_task_runner_handle.h" | |
14 #include "base/threading/sequenced_worker_pool.h" | 13 #include "base/threading/sequenced_worker_pool.h" |
| 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 15 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
16 #include "chrome/browser/chromeos/drive/file_system_util.h" | 16 #include "chrome/browser/chromeos/drive/file_system_util.h" |
17 #include "chrome/browser/chromeos/drive/fileapi/fileapi_worker.h" | 17 #include "chrome/browser/chromeos/drive/fileapi/fileapi_worker.h" |
18 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
19 #include "google_apis/drive/task_util.h" | 19 #include "google_apis/drive/task_util.h" |
20 #include "storage/browser/blob/shareable_file_reference.h" | 20 #include "storage/browser/blob/shareable_file_reference.h" |
21 #include "storage/browser/fileapi/file_system_operation_context.h" | 21 #include "storage/browser/fileapi/file_system_operation_context.h" |
22 #include "storage/browser/fileapi/file_system_url.h" | 22 #include "storage/browser/fileapi/file_system_url.h" |
23 | 23 |
24 using content::BrowserThread; | 24 using content::BrowserThread; |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 base::Bind(&RunCreateSnapshotFileCallback, callback))), | 446 base::Bind(&RunCreateSnapshotFileCallback, callback))), |
447 base::Bind(callback, | 447 base::Bind(callback, |
448 base::File::FILE_ERROR_FAILED, | 448 base::File::FILE_ERROR_FAILED, |
449 base::File::Info(), | 449 base::File::Info(), |
450 base::FilePath(), | 450 base::FilePath(), |
451 scoped_refptr<storage::ShareableFileReference>())); | 451 scoped_refptr<storage::ShareableFileReference>())); |
452 } | 452 } |
453 | 453 |
454 } // namespace internal | 454 } // namespace internal |
455 } // namespace drive | 455 } // namespace drive |
OLD | NEW |