OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 #include "chrome/browser/sync/glue/sync_backend_host.h" | 7 #include "chrome/browser/sync/glue/sync_backend_host.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
17 #include "base/location.h" | 17 #include "base/location.h" |
18 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
| 19 #include "base/strings/utf_string_conversions.h" |
19 #include "base/threading/thread_restrictions.h" | 20 #include "base/threading/thread_restrictions.h" |
20 #include "base/timer.h" | 21 #include "base/timer.h" |
21 #include "base/tracked_objects.h" | 22 #include "base/tracked_objects.h" |
22 #include "base/utf_string_conversions.h" | |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "chrome/browser/invalidation/invalidator_storage.h" | 24 #include "chrome/browser/invalidation/invalidator_storage.h" |
25 #include "chrome/browser/net/network_time_tracker.h" | 25 #include "chrome/browser/net/network_time_tracker.h" |
26 #include "chrome/browser/profiles/profile.h" | 26 #include "chrome/browser/profiles/profile.h" |
27 #include "chrome/browser/signin/token_service.h" | 27 #include "chrome/browser/signin/token_service.h" |
28 #include "chrome/browser/signin/token_service_factory.h" | 28 #include "chrome/browser/signin/token_service_factory.h" |
29 #include "chrome/browser/sync/glue/android_invalidator_bridge.h" | 29 #include "chrome/browser/sync/glue/android_invalidator_bridge.h" |
30 #include "chrome/browser/sync/glue/android_invalidator_bridge_proxy.h" | 30 #include "chrome/browser/sync/glue/android_invalidator_bridge_proxy.h" |
31 #include "chrome/browser/sync/glue/change_processor.h" | 31 #include "chrome/browser/sync/glue/change_processor.h" |
32 #include "chrome/browser/sync/glue/chrome_encryptor.h" | 32 #include "chrome/browser/sync/glue/chrome_encryptor.h" |
(...skipping 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1720 DVLOG(1) << "Connection status changed: " | 1720 DVLOG(1) << "Connection status changed: " |
1721 << syncer::ConnectionStatusToString(status); | 1721 << syncer::ConnectionStatusToString(status); |
1722 frontend_->OnConnectionStatusChange(status); | 1722 frontend_->OnConnectionStatusChange(status); |
1723 } | 1723 } |
1724 | 1724 |
1725 #undef SDVLOG | 1725 #undef SDVLOG |
1726 | 1726 |
1727 #undef SLOG | 1727 #undef SLOG |
1728 | 1728 |
1729 } // namespace browser_sync | 1729 } // namespace browser_sync |
OLD | NEW |