| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_NOTIFIER_ACK_TRACKER_H_ | 5 #ifndef SYNC_NOTIFIER_ACK_TRACKER_H_ |
| 6 #define SYNC_NOTIFIER_ACK_TRACKER_H_ | 6 #define SYNC_NOTIFIER_ACK_TRACKER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
| 14 #include "base/time.h" | 14 #include "base/time/time.h" |
| 15 #include "base/timer.h" | 15 #include "base/timer/timer.h" |
| 16 #include "net/base/backoff_entry.h" | 16 #include "net/base/backoff_entry.h" |
| 17 #include "sync/base/sync_export.h" | 17 #include "sync/base/sync_export.h" |
| 18 #include "sync/notifier/invalidation_util.h" | 18 #include "sync/notifier/invalidation_util.h" |
| 19 | 19 |
| 20 namespace base { | 20 namespace base { |
| 21 class TickClock; | 21 class TickClock; |
| 22 } // namespace base | 22 } // namespace base |
| 23 | 23 |
| 24 namespace syncer { | 24 namespace syncer { |
| 25 | 25 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 std::multimap<base::TimeTicks, Entry*> queue_; | 102 std::multimap<base::TimeTicks, Entry*> queue_; |
| 103 | 103 |
| 104 base::ThreadChecker thread_checker_; | 104 base::ThreadChecker thread_checker_; |
| 105 | 105 |
| 106 DISALLOW_COPY_AND_ASSIGN(AckTracker); | 106 DISALLOW_COPY_AND_ASSIGN(AckTracker); |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 } // namespace syncer | 109 } // namespace syncer |
| 110 | 110 |
| 111 #endif // SYNC_NOTIFIER_ACK_TRACKER_H_ | 111 #endif // SYNC_NOTIFIER_ACK_TRACKER_H_ |
| OLD | NEW |