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 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_CONTEXT_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_CONTEXT_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_CONTEXT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 namespace drive { | 10 namespace drive { |
11 class DriveServiceInterface; | 11 class DriveServiceInterface; |
| 12 class DriveUploaderInterface; |
12 } | 13 } |
13 | 14 |
14 namespace sync_file_system { | 15 namespace sync_file_system { |
15 | 16 |
16 class RemoteChangeProcessor; | 17 class RemoteChangeProcessor; |
17 | 18 |
18 namespace drive_backend { | 19 namespace drive_backend { |
19 | 20 |
20 class MetadataDatabase; | 21 class MetadataDatabase; |
21 | 22 |
22 class SyncEngineContext { | 23 class SyncEngineContext { |
23 public: | 24 public: |
24 SyncEngineContext() {} | 25 SyncEngineContext() {} |
25 ~SyncEngineContext() {} | 26 ~SyncEngineContext() {} |
26 | 27 |
27 virtual drive::DriveServiceInterface* GetDriveService() = 0; | 28 virtual drive::DriveServiceInterface* GetDriveService() = 0; |
| 29 virtual drive::DriveUploaderInterface* GetDriveUploader() = 0; |
28 virtual MetadataDatabase* GetMetadataDatabase() = 0; | 30 virtual MetadataDatabase* GetMetadataDatabase() = 0; |
29 virtual RemoteChangeProcessor* GetRemoteChangeProcessor() = 0; | 31 virtual RemoteChangeProcessor* GetRemoteChangeProcessor() = 0; |
30 | 32 |
31 private: | 33 private: |
32 DISALLOW_COPY_AND_ASSIGN(SyncEngineContext); | 34 DISALLOW_COPY_AND_ASSIGN(SyncEngineContext); |
33 }; | 35 }; |
34 | 36 |
35 } // namespace drive_backend | 37 } // namespace drive_backend |
36 } // namespace sync_file_system | 38 } // namespace sync_file_system |
37 | 39 |
38 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_CONTEXT_H_ | 40 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_CONTEXT_H_ |
OLD | NEW |