| 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/location.h" | 8 #include "base/location.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| 11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/signin/chrome_signin_client_factory.h" | 14 #include "chrome/browser/signin/chrome_signin_client_factory.h" |
| 15 #include "chrome/browser/sync/glue/invalidation_helper.h" | 15 #include "chrome/browser/sync/glue/invalidation_helper.h" |
| 16 #include "chrome/browser/sync/glue/sync_backend_host_core.h" | 16 #include "chrome/browser/sync/glue/sync_backend_host_core.h" |
| 17 #include "chrome/browser/sync/glue/sync_backend_registrar.h" | 17 #include "chrome/browser/sync/glue/sync_backend_registrar.h" |
| 18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
| 19 #include "components/invalidation/invalidation_service.h" | 19 #include "components/invalidation/base/invalidation_service.h" |
| 20 #include "components/invalidation/object_id_invalidation_map.h" | 20 #include "components/invalidation/base/object_id_invalidation_map.h" |
| 21 #include "components/network_time/network_time_tracker.h" | 21 #include "components/network_time/network_time_tracker.h" |
| 22 #include "components/signin/core/browser/signin_client.h" | 22 #include "components/signin/core/browser/signin_client.h" |
| 23 #include "components/sync_driver/sync_frontend.h" | 23 #include "components/sync_driver/sync_frontend.h" |
| 24 #include "components/sync_driver/sync_prefs.h" | 24 #include "components/sync_driver/sync_prefs.h" |
| 25 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
| 26 #include "content/public/browser/notification_details.h" | 26 #include "content/public/browser/notification_details.h" |
| 27 #include "content/public/browser/notification_source.h" | 27 #include "content/public/browser/notification_source.h" |
| 28 #include "sync/internal_api/public/base_transaction.h" | 28 #include "sync/internal_api/public/base_transaction.h" |
| 29 #include "sync/internal_api/public/events/protocol_event.h" | 29 #include "sync/internal_api/public/events/protocol_event.h" |
| 30 #include "sync/internal_api/public/http_bridge.h" | 30 #include "sync/internal_api/public/http_bridge.h" |
| (...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 | 865 |
| 866 base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() { | 866 base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() { |
| 867 return registrar_->sync_thread()->message_loop(); | 867 return registrar_->sync_thread()->message_loop(); |
| 868 } | 868 } |
| 869 | 869 |
| 870 } // namespace browser_sync | 870 } // namespace browser_sync |
| 871 | 871 |
| 872 #undef SDVLOG | 872 #undef SDVLOG |
| 873 | 873 |
| 874 #undef SLOG | 874 #undef SLOG |
| OLD | NEW |