| 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 <stddef.h> |
| 11 |
| 10 #include <list> | 12 #include <list> |
| 11 #include <map> | 13 #include <map> |
| 12 | 14 |
| 13 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 16 #include "sync/base/sync_export.h" | 19 #include "sync/base/sync_export.h" |
| 17 #include "sync/internal_api/public/base/invalidation_interface.h" | 20 #include "sync/internal_api/public/base/invalidation_interface.h" |
| 18 #include "sync/internal_api/public/base/model_type.h" | 21 #include "sync/internal_api/public/base/model_type.h" |
| 19 #include "sync/protocol/sync.pb.h" | 22 #include "sync/protocol/sync.pb.h" |
| 20 #include "sync/sessions/data_type_tracker.h" | 23 #include "sync/sessions/data_type_tracker.h" |
| 21 | 24 |
| 22 namespace syncer { | 25 namespace syncer { |
| 23 | 26 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 base::TimeDelta local_refresh_nudge_delay_; | 203 base::TimeDelta local_refresh_nudge_delay_; |
| 201 base::TimeDelta remote_invalidation_nudge_delay_; | 204 base::TimeDelta remote_invalidation_nudge_delay_; |
| 202 | 205 |
| 203 DISALLOW_COPY_AND_ASSIGN(NudgeTracker); | 206 DISALLOW_COPY_AND_ASSIGN(NudgeTracker); |
| 204 }; | 207 }; |
| 205 | 208 |
| 206 } // namespace sessions | 209 } // namespace sessions |
| 207 } // namespace syncer | 210 } // namespace syncer |
| 208 | 211 |
| 209 #endif // SYNC_SESSIONS_NUDGE_TRACKER_H_ | 212 #endif // SYNC_SESSIONS_NUDGE_TRACKER_H_ |
| OLD | NEW |