| 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 } | 12 } |
| 13 | 13 |
| 14 namespace sync_file_system { | 14 namespace sync_file_system { |
| 15 |
| 16 class RemoteChangeProcessor; |
| 17 |
| 15 namespace drive_backend { | 18 namespace drive_backend { |
| 16 | 19 |
| 17 class MetadataDatabase; | 20 class MetadataDatabase; |
| 18 | 21 |
| 19 class SyncEngineContext { | 22 class SyncEngineContext { |
| 20 public: | 23 public: |
| 21 SyncEngineContext() {} | 24 SyncEngineContext() {} |
| 22 ~SyncEngineContext() {} | 25 ~SyncEngineContext() {} |
| 23 | 26 |
| 24 virtual drive::DriveServiceInterface* GetDriveService() = 0; | 27 virtual drive::DriveServiceInterface* GetDriveService() = 0; |
| 25 virtual MetadataDatabase* GetMetadataDatabase() = 0; | 28 virtual MetadataDatabase* GetMetadataDatabase() = 0; |
| 29 virtual RemoteChangeProcessor* GetRemoteChangeProcessor() = 0; |
| 26 | 30 |
| 27 private: | 31 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(SyncEngineContext); | 32 DISALLOW_COPY_AND_ASSIGN(SyncEngineContext); |
| 29 }; | 33 }; |
| 30 | 34 |
| 31 } // namespace drive_backend | 35 } // namespace drive_backend |
| 32 } // namespace sync_file_system | 36 } // namespace sync_file_system |
| 33 | 37 |
| 34 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_CONTEXT_H_ | 38 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_CONTEXT_H_ |
| OLD | NEW |