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_ENGINE_SYNC_SCHEDULER_IMPL_H_ | 5 #ifndef SYNC_ENGINE_SYNC_SCHEDULER_IMPL_H_ |
6 #define SYNC_ENGINE_SYNC_SCHEDULER_IMPL_H_ | 6 #define SYNC_ENGINE_SYNC_SCHEDULER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/cancelable_callback.h" | 12 #include "base/cancelable_callback.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/threading/non_thread_safe.h" | 18 #include "base/threading/non_thread_safe.h" |
19 #include "base/time.h" | 19 #include "base/time/time.h" |
20 #include "base/timer.h" | 20 #include "base/timer/timer.h" |
21 #include "sync/base/sync_export.h" | 21 #include "sync/base/sync_export.h" |
22 #include "sync/engine/net/server_connection_manager.h" | 22 #include "sync/engine/net/server_connection_manager.h" |
23 #include "sync/engine/nudge_source.h" | 23 #include "sync/engine/nudge_source.h" |
24 #include "sync/engine/sync_scheduler.h" | 24 #include "sync/engine/sync_scheduler.h" |
25 #include "sync/engine/syncer.h" | 25 #include "sync/engine/syncer.h" |
26 #include "sync/internal_api/public/base/model_type_invalidation_map.h" | 26 #include "sync/internal_api/public/base/model_type_invalidation_map.h" |
27 #include "sync/internal_api/public/engine/polling_constants.h" | 27 #include "sync/internal_api/public/engine/polling_constants.h" |
28 #include "sync/internal_api/public/util/weak_handle.h" | 28 #include "sync/internal_api/public/util/weak_handle.h" |
29 #include "sync/sessions/nudge_tracker.h" | 29 #include "sync/sessions/nudge_tracker.h" |
30 #include "sync/sessions/sync_session.h" | 30 #include "sync/sessions/sync_session.h" |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 // take place during a sync cycle. We call this out because such violations | 305 // take place during a sync cycle. We call this out because such violations |
306 // could result in tight sync loops hitting sync servers. | 306 // could result in tight sync loops hitting sync servers. |
307 bool no_scheduling_allowed_; | 307 bool no_scheduling_allowed_; |
308 | 308 |
309 DISALLOW_COPY_AND_ASSIGN(SyncSchedulerImpl); | 309 DISALLOW_COPY_AND_ASSIGN(SyncSchedulerImpl); |
310 }; | 310 }; |
311 | 311 |
312 } // namespace syncer | 312 } // namespace syncer |
313 | 313 |
314 #endif // SYNC_ENGINE_SYNC_SCHEDULER_IMPL_H_ | 314 #endif // SYNC_ENGINE_SYNC_SCHEDULER_IMPL_H_ |
OLD | NEW |