OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/chromeos/drive/async_file_util.h" | 5 #include "chrome/browser/chromeos/drive/async_file_util.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
11 #include "base/threading/sequenced_worker_pool.h" | 11 #include "base/threading/sequenced_worker_pool.h" |
12 #include "chrome/browser/chromeos/drive/file_system_util.h" | 12 #include "chrome/browser/chromeos/drive/file_system_util.h" |
13 #include "chrome/browser/chromeos/drive/fileapi_worker.h" | 13 #include "chrome/browser/chromeos/drive/fileapi_worker.h" |
14 #include "chrome/browser/google_apis/task_util.h" | |
15 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
| 15 #include "google_apis/drive/task_util.h" |
16 #include "webkit/browser/fileapi/file_system_operation_context.h" | 16 #include "webkit/browser/fileapi/file_system_operation_context.h" |
17 #include "webkit/browser/fileapi/file_system_url.h" | 17 #include "webkit/browser/fileapi/file_system_url.h" |
18 #include "webkit/common/blob/shareable_file_reference.h" | 18 #include "webkit/common/blob/shareable_file_reference.h" |
19 | 19 |
20 using content::BrowserThread; | 20 using content::BrowserThread; |
21 | 21 |
22 namespace drive { | 22 namespace drive { |
23 namespace internal { | 23 namespace internal { |
24 namespace { | 24 namespace { |
25 | 25 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 base::Bind(&RunCreateSnapshotFileCallback, callback))), | 428 base::Bind(&RunCreateSnapshotFileCallback, callback))), |
429 base::Bind(callback, | 429 base::Bind(callback, |
430 base::PLATFORM_FILE_ERROR_FAILED, | 430 base::PLATFORM_FILE_ERROR_FAILED, |
431 base::PlatformFileInfo(), | 431 base::PlatformFileInfo(), |
432 base::FilePath(), | 432 base::FilePath(), |
433 scoped_refptr<webkit_blob::ShareableFileReference>())); | 433 scoped_refptr<webkit_blob::ShareableFileReference>())); |
434 } | 434 } |
435 | 435 |
436 } // namespace internal | 436 } // namespace internal |
437 } // namespace drive | 437 } // namespace drive |
OLD | NEW |