| 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 SYNC_ENGINE_UPDATE_HANDLER_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_ |
| 6 #define SYNC_ENGINE_UPDATE_HANDLER_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "sync/base/sync_export.h" | 10 #include "components/sync/base/sync_export.h" |
| 11 #include "sync/internal_api/public/util/syncer_error.h" | 11 #include "components/sync/base/syncer_error.h" |
| 12 | 12 |
| 13 namespace sync_pb { | 13 namespace sync_pb { |
| 14 class DataTypeContext; | 14 class DataTypeContext; |
| 15 class DataTypeProgressMarker; | 15 class DataTypeProgressMarker; |
| 16 class SyncEntity; | 16 class SyncEntity; |
| 17 } | 17 } |
| 18 | 18 |
| 19 typedef std::vector<const sync_pb::SyncEntity*> SyncEntityList; | 19 typedef std::vector<const sync_pb::SyncEntity*> SyncEntityList; |
| 20 | 20 |
| 21 namespace syncer { | 21 namespace syncer { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // updates. | 66 // updates. |
| 67 virtual void ApplyUpdates(sessions::StatusController* status) = 0; | 67 virtual void ApplyUpdates(sessions::StatusController* status) = 0; |
| 68 | 68 |
| 69 // Called at the end of a configure GetUpdates loop to perform any required | 69 // Called at the end of a configure GetUpdates loop to perform any required |
| 70 // post-initial-download update application. | 70 // post-initial-download update application. |
| 71 virtual void PassiveApplyUpdates(sessions::StatusController* status) = 0; | 71 virtual void PassiveApplyUpdates(sessions::StatusController* status) = 0; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace syncer | 74 } // namespace syncer |
| 75 | 75 |
| 76 #endif // SYNC_ENGINE_UPDATE_HANDLER_H_ | 76 #endif // COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_ |
| OLD | NEW |