| 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 COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_ |
| 6 #define COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "components/sync/engine/events/protocol_event.h" | 11 #include "components/sync/engine/events/protocol_event.h" |
| 12 #include "components/sync/engine_impl/model_type_registry.h" |
| 12 #include "components/sync/protocol/sync.pb.h" | 13 #include "components/sync/protocol/sync.pb.h" |
| 13 #include "components/sync/sessions_impl/model_type_registry.h" | |
| 14 #include "components/sync/sessions_impl/nudge_tracker.h" | 14 #include "components/sync/sessions_impl/nudge_tracker.h" |
| 15 #include "components/sync/sessions_impl/status_controller.h" | 15 #include "components/sync/sessions_impl/status_controller.h" |
| 16 | 16 |
| 17 namespace syncer { | 17 namespace syncer { |
| 18 | 18 |
| 19 class GetUpdatesProcessor; | 19 class GetUpdatesProcessor; |
| 20 | 20 |
| 21 // Interface for GetUpdates functionality that dependends on the requested | 21 // Interface for GetUpdates functionality that dependends on the requested |
| 22 // GetUpdate type (normal, configuration, poll). The GetUpdatesProcessor is | 22 // GetUpdate type (normal, configuration, poll). The GetUpdatesProcessor is |
| 23 // given an appropriate GetUpdatesDelegate to handle type specific functionality | 23 // given an appropriate GetUpdatesDelegate to handle type specific functionality |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 base::Time timestamp, | 118 base::Time timestamp, |
| 119 const sync_pb::ClientToServerMessage& request) const override; | 119 const sync_pb::ClientToServerMessage& request) const override; |
| 120 | 120 |
| 121 private: | 121 private: |
| 122 DISALLOW_COPY_AND_ASSIGN(PollGetUpdatesDelegate); | 122 DISALLOW_COPY_AND_ASSIGN(PollGetUpdatesDelegate); |
| 123 }; | 123 }; |
| 124 | 124 |
| 125 } // namespace syncer | 125 } // namespace syncer |
| 126 | 126 |
| 127 #endif // SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_ | 127 #endif // SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_ |
| OLD | NEW |