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 "chrome/browser/sync/glue/sync_backend_host.h" | 5 #include "chrome/browser/sync/glue/sync_backend_host.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 14 matching lines...) Expand all Loading... |
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/change_processor.h" | 29 #include "chrome/browser/sync/glue/change_processor.h" |
30 #include "chrome/browser/sync/glue/chrome_encryptor.h" | 30 #include "chrome/browser/sync/glue/chrome_encryptor.h" |
31 #include "chrome/browser/sync/glue/device_info.h" | 31 #include "chrome/browser/sync/glue/device_info.h" |
32 #include "chrome/browser/sync/glue/sync_backend_registrar.h" | 32 #include "chrome/browser/sync/glue/sync_backend_registrar.h" |
33 #include "chrome/browser/sync/glue/synced_device_tracker.h" | 33 #include "chrome/browser/sync/glue/synced_device_tracker.h" |
34 #include "chrome/browser/sync/sync_prefs.h" | 34 #include "chrome/browser/sync/sync_prefs.h" |
35 #include "chrome/common/chrome_notification_types.h" | |
36 #include "chrome/common/chrome_switches.h" | 35 #include "chrome/common/chrome_switches.h" |
37 #include "chrome/common/chrome_version_info.h" | 36 #include "chrome/common/chrome_version_info.h" |
38 #include "content/public/browser/browser_thread.h" | 37 #include "content/public/browser/browser_thread.h" |
39 #include "content/public/browser/notification_details.h" | 38 #include "content/public/browser/notification_details.h" |
40 #include "content/public/browser/notification_service.h" | 39 #include "content/public/browser/notification_service.h" |
41 #include "content/public/browser/notification_source.h" | 40 #include "content/public/browser/notification_source.h" |
42 #include "content/public/common/content_client.h" | 41 #include "content/public/common/content_client.h" |
43 #include "google_apis/gaia/gaia_constants.h" | 42 #include "google_apis/gaia/gaia_constants.h" |
44 #include "jingle/notifier/base/notification_method.h" | 43 #include "jingle/notifier/base/notification_method.h" |
45 #include "jingle/notifier/base/notifier_options.h" | 44 #include "jingle/notifier/base/notifier_options.h" |
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 | 1589 |
1591 base::MessageLoop* SyncBackendHost::GetSyncLoopForTesting() { | 1590 base::MessageLoop* SyncBackendHost::GetSyncLoopForTesting() { |
1592 return registrar_->sync_thread()->message_loop(); | 1591 return registrar_->sync_thread()->message_loop(); |
1593 } | 1592 } |
1594 | 1593 |
1595 #undef SDVLOG | 1594 #undef SDVLOG |
1596 | 1595 |
1597 #undef SLOG | 1596 #undef SLOG |
1598 | 1597 |
1599 } // namespace browser_sync | 1598 } // namespace browser_sync |
OLD | NEW |