OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/browser/sync/engine/syncer_thread.h" | 4 #include "chrome/browser/sync/engine/syncer_thread.h" |
5 | 5 |
6 #include "build/build_config.h" | 6 #include "build/build_config.h" |
7 | 7 |
8 #if defined(OS_MACOSX) | 8 #if defined(OS_MACOSX) |
9 #include <CoreFoundation/CFNumber.h> | 9 #include <CoreFoundation/CFNumber.h> |
10 #include <IOKit/IOTypes.h> | 10 #include <IOKit/IOTypes.h> |
11 #include <IOKit/IOKitLib.h> | 11 #include <IOKit/IOKitLib.h> |
12 #endif | 12 #endif |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <map> | 15 #include <map> |
16 #include <queue> | 16 #include <queue> |
17 | 17 |
18 #include "base/dynamic_annotations.h" | 18 #include "base/dynamic_annotations.h" |
19 #include "chrome/browser/sync/sync_constants.h" | 19 #include "chrome/browser/sync/sync_constants.h" |
20 #include "chrome/browser/sync/engine/auth_watcher.h" | 20 #include "chrome/browser/sync/engine/auth_watcher.h" |
21 #include "chrome/browser/sync/engine/model_safe_worker.h" | 21 #include "chrome/browser/sync/engine/model_safe_worker.h" |
22 #include "chrome/browser/sync/engine/net/server_connection_manager.h" | 22 #include "chrome/browser/sync/engine/net/server_connection_manager.h" |
23 #include "chrome/browser/sync/engine/syncer.h" | 23 #include "chrome/browser/sync/engine/syncer.h" |
24 #include "chrome/browser/sync/notifier/listener/notification_constants.h" | |
25 #include "chrome/browser/sync/notifier/listener/talk_mediator.h" | |
26 #include "chrome/browser/sync/notifier/listener/talk_mediator_impl.h" | |
27 #include "chrome/browser/sync/syncable/directory_manager.h" | 24 #include "chrome/browser/sync/syncable/directory_manager.h" |
28 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
| 26 #include "chrome/common/net/notifier/listener/notification_constants.h" |
| 27 #include "chrome/common/net/notifier/listener/talk_mediator.h" |
| 28 #include "chrome/common/net/notifier/listener/talk_mediator_impl.h" |
29 | 29 |
30 using std::priority_queue; | 30 using std::priority_queue; |
31 using std::min; | 31 using std::min; |
32 using base::Time; | 32 using base::Time; |
33 using base::TimeDelta; | 33 using base::TimeDelta; |
34 using base::TimeTicks; | 34 using base::TimeTicks; |
35 | 35 |
36 | 36 |
37 namespace browser_sync { | 37 namespace browser_sync { |
38 | 38 |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 was_logged = true; | 725 was_logged = true; |
726 LOG(INFO) << "UserIdleTime unimplemented on this platform, " | 726 LOG(INFO) << "UserIdleTime unimplemented on this platform, " |
727 "synchronization will not throttle when user idle"; | 727 "synchronization will not throttle when user idle"; |
728 } | 728 } |
729 #endif | 729 #endif |
730 | 730 |
731 return 0; | 731 return 0; |
732 } | 732 } |
733 | 733 |
734 } // namespace browser_sync | 734 } // namespace browser_sync |
OLD | NEW |