| 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/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
| 10 #include "chrome/browser/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
| 11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 12 #include "chrome/browser/signin/chrome_signin_client_factory.h" | 12 #include "chrome/browser/signin/chrome_signin_client_factory.h" |
| 13 #include "chrome/browser/sync/glue/invalidation_helper.h" |
| 13 #include "chrome/browser/sync/glue/sync_backend_host_core.h" | 14 #include "chrome/browser/sync/glue/sync_backend_host_core.h" |
| 14 #include "chrome/browser/sync/glue/sync_backend_registrar.h" | 15 #include "chrome/browser/sync/glue/sync_backend_registrar.h" |
| 15 #include "chrome/common/chrome_switches.h" | 16 #include "chrome/common/chrome_switches.h" |
| 16 #include "components/invalidation/invalidation_service.h" | 17 #include "components/invalidation/invalidation_service.h" |
| 17 #include "components/invalidation/object_id_invalidation_map.h" | 18 #include "components/invalidation/object_id_invalidation_map.h" |
| 18 #include "components/network_time/network_time_tracker.h" | 19 #include "components/network_time/network_time_tracker.h" |
| 19 #include "components/signin/core/browser/signin_client.h" | 20 #include "components/signin/core/browser/signin_client.h" |
| 20 #include "components/sync_driver/sync_frontend.h" | 21 #include "components/sync_driver/sync_frontend.h" |
| 21 #include "components/sync_driver/sync_prefs.h" | 22 #include "components/sync_driver/sync_prefs.h" |
| 22 #include "content/public/browser/browser_thread.h" | 23 #include "content/public/browser/browser_thread.h" |
| (...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 | 885 |
| 885 base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() { | 886 base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() { |
| 886 return registrar_->sync_thread()->message_loop(); | 887 return registrar_->sync_thread()->message_loop(); |
| 887 } | 888 } |
| 888 | 889 |
| 889 } // namespace browser_sync | 890 } // namespace browser_sync |
| 890 | 891 |
| 891 #undef SDVLOG | 892 #undef SDVLOG |
| 892 | 893 |
| 893 #undef SLOG | 894 #undef SLOG |
| OLD | NEW |