| 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 "chrome/browser/sync/glue/sync_backend_host_impl.h" | 5 #include "chrome/browser/sync/glue/sync_backend_host_impl.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "chrome/browser/chrome_notification_types.h" | 9 #include "chrome/browser/chrome_notification_types.h" |
| 10 #include "chrome/browser/invalidation/invalidation_service.h" | |
| 11 #include "chrome/browser/invalidation/invalidation_service_factory.h" | 10 #include "chrome/browser/invalidation/invalidation_service_factory.h" |
| 12 #include "chrome/browser/network_time/network_time_tracker.h" | 11 #include "chrome/browser/network_time/network_time_tracker.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/sync/glue/sync_backend_host_core.h" | 13 #include "chrome/browser/sync/glue/sync_backend_host_core.h" |
| 15 #include "chrome/browser/sync/glue/sync_backend_registrar.h" | 14 #include "chrome/browser/sync/glue/sync_backend_registrar.h" |
| 16 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
| 16 #include "components/invalidation/invalidation_service.h" |
| 17 #include "components/sync_driver/sync_frontend.h" | 17 #include "components/sync_driver/sync_frontend.h" |
| 18 #include "components/sync_driver/sync_prefs.h" | 18 #include "components/sync_driver/sync_prefs.h" |
| 19 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
| 20 #include "content/public/browser/notification_details.h" | 20 #include "content/public/browser/notification_details.h" |
| 21 #include "content/public/browser/notification_source.h" | 21 #include "content/public/browser/notification_source.h" |
| 22 #include "sync/internal_api/public/base_transaction.h" | 22 #include "sync/internal_api/public/base_transaction.h" |
| 23 #include "sync/internal_api/public/events/protocol_event.h" | 23 #include "sync/internal_api/public/events/protocol_event.h" |
| 24 #include "sync/internal_api/public/http_bridge.h" | 24 #include "sync/internal_api/public/http_bridge.h" |
| 25 #include "sync/internal_api/public/internal_components_factory.h" | 25 #include "sync/internal_api/public/internal_components_factory.h" |
| 26 #include "sync/internal_api/public/internal_components_factory_impl.h" | 26 #include "sync/internal_api/public/internal_components_factory_impl.h" |
| (...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() { | 799 base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() { |
| 800 return registrar_->sync_thread()->message_loop(); | 800 return registrar_->sync_thread()->message_loop(); |
| 801 } | 801 } |
| 802 | 802 |
| 803 } // namespace browser_sync | 803 } // namespace browser_sync |
| 804 | 804 |
| 805 #undef SDVLOG | 805 #undef SDVLOG |
| 806 | 806 |
| 807 #undef SLOG | 807 #undef SLOG |
| 808 | 808 |
| OLD | NEW |