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/sync_backend_host_core.h" | 15 #include "chrome/browser/sync/glue/sync_backend_host_core.h" |
16 #include "chrome/browser/sync/glue/sync_backend_registrar.h" | 16 #include "chrome/browser/sync/glue/sync_backend_registrar.h" |
17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
18 #include "components/invalidation/public/invalidation_service.h" | 18 #include "components/invalidation/public/invalidation_service.h" |
19 #include "components/invalidation/public/object_id_invalidation_map.h" | 19 #include "components/invalidation/public/object_id_invalidation_map.h" |
20 #include "components/network_time/network_time_tracker.h" | 20 #include "components/network_time/network_time_tracker.h" |
21 #include "components/signin/core/browser/signin_client.h" | 21 #include "components/signin/core/browser/signin_client.h" |
22 #include "components/sync_driver/invalidation_helper.h" | 22 #include "components/sync_driver/invalidation_helper.h" |
| 23 #include "components/sync_driver/sync_driver_switches.h" |
23 #include "components/sync_driver/sync_frontend.h" | 24 #include "components/sync_driver/sync_frontend.h" |
24 #include "components/sync_driver/sync_prefs.h" | 25 #include "components/sync_driver/sync_prefs.h" |
25 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
26 #include "content/public/browser/notification_details.h" | 27 #include "content/public/browser/notification_details.h" |
27 #include "content/public/browser/notification_source.h" | 28 #include "content/public/browser/notification_source.h" |
28 #include "sync/internal_api/public/base_transaction.h" | 29 #include "sync/internal_api/public/base_transaction.h" |
29 #include "sync/internal_api/public/events/protocol_event.h" | 30 #include "sync/internal_api/public/events/protocol_event.h" |
30 #include "sync/internal_api/public/http_bridge.h" | 31 #include "sync/internal_api/public/http_bridge.h" |
31 #include "sync/internal_api/public/internal_components_factory.h" | 32 #include "sync/internal_api/public/internal_components_factory.h" |
32 #include "sync/internal_api/public/internal_components_factory_impl.h" | 33 #include "sync/internal_api/public/internal_components_factory_impl.h" |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 const syncer::SyncManager::ClearServerDataCallback& frontend_callback) { | 895 const syncer::SyncManager::ClearServerDataCallback& frontend_callback) { |
895 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); | 896 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
896 frontend_callback.Run(); | 897 frontend_callback.Run(); |
897 } | 898 } |
898 | 899 |
899 } // namespace browser_sync | 900 } // namespace browser_sync |
900 | 901 |
901 #undef SDVLOG | 902 #undef SDVLOG |
902 | 903 |
903 #undef SLOG | 904 #undef SLOG |
OLD | NEW |