| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "chrome/browser/chromeos/drive/file_errors.h" | |
| 14 #include "chrome/browser/chromeos/file_manager/file_tasks.h" | 13 #include "chrome/browser/chromeos/file_manager/file_tasks.h" |
| 14 #include "components/drive/file_errors.h" |
| 15 #include "google_apis/drive/drive_api_error_codes.h" | 15 #include "google_apis/drive/drive_api_error_codes.h" |
| 16 | 16 |
| 17 namespace drive { | 17 namespace drive { |
| 18 | 18 |
| 19 class DriveServiceInterface; | 19 class DriveServiceInterface; |
| 20 class FileSystemInterface; | 20 class FileSystemInterface; |
| 21 class ResourceEntry; | 21 class ResourceEntry; |
| 22 | 22 |
| 23 // Delegate class for hooking fake instances and behaviors for testing. | 23 // Delegate class for hooking fake instances and behaviors for testing. |
| 24 class FileTaskExecutorDelegate { | 24 class FileTaskExecutorDelegate { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 std::string app_id_; | 64 std::string app_id_; |
| 65 int current_index_; | 65 int current_index_; |
| 66 file_manager::file_tasks::FileTaskFinishedCallback done_; | 66 file_manager::file_tasks::FileTaskFinishedCallback done_; |
| 67 | 67 |
| 68 base::WeakPtrFactory<FileTaskExecutor> weak_ptr_factory_; | 68 base::WeakPtrFactory<FileTaskExecutor> weak_ptr_factory_; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace drive | 71 } // namespace drive |
| 72 | 72 |
| 73 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_ | 73 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_ |
| OLD | NEW |