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 #include "sync/sessions/data_type_tracker.h" | 5 #include "sync/sessions/data_type_tracker.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 | 10 |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "sync/internal_api/public/base/invalidation_interface.h" | 12 #include "sync/internal_api/public/base/invalidation_interface.h" |
11 #include "sync/sessions/nudge_tracker.h" | 13 #include "sync/sessions/nudge_tracker.h" |
12 | 14 |
13 namespace syncer { | 15 namespace syncer { |
14 namespace sessions { | 16 namespace sessions { |
15 | 17 |
16 DataTypeTracker::DataTypeTracker() | 18 DataTypeTracker::DataTypeTracker() |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 unthrottle_time_ = base::TimeTicks(); | 234 unthrottle_time_ = base::TimeTicks(); |
233 } | 235 } |
234 } | 236 } |
235 | 237 |
236 void DataTypeTracker::UpdateLocalNudgeDelay(base::TimeDelta delay) { | 238 void DataTypeTracker::UpdateLocalNudgeDelay(base::TimeDelta delay) { |
237 nudge_delay_ = delay; | 239 nudge_delay_ = delay; |
238 } | 240 } |
239 | 241 |
240 } // namespace sessions | 242 } // namespace sessions |
241 } // namespace syncer | 243 } // namespace syncer |
OLD | NEW |