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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPERATION_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPERATION_DELEGATE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPERATION_DELEGATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPERATION_DELEGATE_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/drive/file_errors.h" | 8 #include "components/drive/file_errors.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 class FilePath; | 11 class FilePath; |
12 } | 12 } |
13 | 13 |
14 namespace drive { | 14 namespace drive { |
15 | 15 |
16 struct ClientContext; | 16 struct ClientContext; |
17 class FileChange; | 17 class FileChange; |
18 | 18 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // Waits for the sync task to complete and runs the callback. | 50 // Waits for the sync task to complete and runs the callback. |
51 // Returns false if no task is found for the spcecified ID. | 51 // Returns false if no task is found for the spcecified ID. |
52 virtual bool WaitForSyncComplete(const std::string& local_id, | 52 virtual bool WaitForSyncComplete(const std::string& local_id, |
53 const FileOperationCallback& callback); | 53 const FileOperationCallback& callback); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace file_system | 56 } // namespace file_system |
57 } // namespace drive | 57 } // namespace drive |
58 | 58 |
59 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPERATION_DELEGATE_H_ | 59 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPERATION_DELEGATE_H_ |
OLD | NEW |