| 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 // A class to track the outstanding work required to bring the client back into | 5 // A class to track the outstanding work required to bring the client back into |
| 6 // sync with the server. | 6 // sync with the server. |
| 7 #ifndef SYNC_SESSIONS_NUDGE_TRACKER_H_ | 7 #ifndef SYNC_SESSIONS_NUDGE_TRACKER_H_ |
| 8 #define SYNC_SESSIONS_NUDGE_TRACKER_H_ | 8 #define SYNC_SESSIONS_NUDGE_TRACKER_H_ |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 #include <map> | 11 #include <map> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "sync/base/sync_export.h" | 15 #include "sync/base/sync_export.h" |
| 16 #include "sync/internal_api/public/base/invalidation_interface.h" |
| 16 #include "sync/internal_api/public/base/model_type.h" | 17 #include "sync/internal_api/public/base/model_type.h" |
| 17 #include "sync/protocol/sync.pb.h" | 18 #include "sync/protocol/sync.pb.h" |
| 18 #include "sync/sessions/data_type_tracker.h" | 19 #include "sync/sessions/data_type_tracker.h" |
| 19 | 20 |
| 20 namespace syncer { | 21 namespace syncer { |
| 21 | 22 |
| 22 class ObjectIdInvalidationMap; | 23 class ObjectIdInvalidationMap; |
| 23 | 24 |
| 24 namespace sessions { | 25 namespace sessions { |
| 25 | 26 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 // currently in a sync cycle. | 183 // currently in a sync cycle. |
| 183 base::TimeTicks sync_cycle_start_time_; | 184 base::TimeTicks sync_cycle_start_time_; |
| 184 | 185 |
| 185 DISALLOW_COPY_AND_ASSIGN(NudgeTracker); | 186 DISALLOW_COPY_AND_ASSIGN(NudgeTracker); |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 } // namespace sessions | 189 } // namespace sessions |
| 189 } // namespace syncer | 190 } // namespace syncer |
| 190 | 191 |
| 191 #endif // SYNC_SESSIONS_NUDGE_TRACKER_H_ | 192 #endif // SYNC_SESSIONS_NUDGE_TRACKER_H_ |
| OLD | NEW |