| 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/profile_sync_service_factory.h" | 5 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/browser/signin/about_signin_internals_factory.h" | 24 #include "chrome/browser/signin/about_signin_internals_factory.h" |
| 25 #include "chrome/browser/signin/chrome_signin_client_factory.h" | 25 #include "chrome/browser/signin/chrome_signin_client_factory.h" |
| 26 #include "chrome/browser/signin/gaia_cookie_manager_service_factory.h" | 26 #include "chrome/browser/signin/gaia_cookie_manager_service_factory.h" |
| 27 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" | 27 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
| 28 #include "chrome/browser/signin/signin_manager_factory.h" | 28 #include "chrome/browser/signin/signin_manager_factory.h" |
| 29 #include "chrome/browser/sync/chrome_sync_client.h" | 29 #include "chrome/browser/sync/chrome_sync_client.h" |
| 30 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" | 30 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" |
| 31 #include "chrome/browser/themes/theme_service_factory.h" | 31 #include "chrome/browser/themes/theme_service_factory.h" |
| 32 #include "chrome/browser/web_data_service_factory.h" | 32 #include "chrome/browser/web_data_service_factory.h" |
| 33 #include "chrome/common/channel_info.h" | 33 #include "chrome/common/channel_info.h" |
| 34 #include "components/browser_sync/browser/profile_sync_components_factory_impl.h
" | 34 #include "components/browser_sync/profile_sync_components_factory_impl.h" |
| 35 #include "components/browser_sync/browser/profile_sync_service.h" | 35 #include "components/browser_sync/profile_sync_service.h" |
| 36 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 36 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 37 #include "components/network_time/network_time_tracker.h" | 37 #include "components/network_time/network_time_tracker.h" |
| 38 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 38 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
| 39 #include "components/signin/core/browser/signin_manager.h" | 39 #include "components/signin/core/browser/signin_manager.h" |
| 40 #include "components/sync/driver/signin_manager_wrapper.h" | 40 #include "components/sync/driver/signin_manager_wrapper.h" |
| 41 #include "components/sync/driver/startup_controller.h" | 41 #include "components/sync/driver/startup_controller.h" |
| 42 #include "components/sync/driver/sync_util.h" | 42 #include "components/sync/driver/sync_util.h" |
| 43 #include "content/public/browser/browser_thread.h" | 43 #include "content/public/browser/browser_thread.h" |
| 44 #include "url/gurl.h" | 44 #include "url/gurl.h" |
| 45 | 45 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 203 |
| 204 // static | 204 // static |
| 205 void ProfileSyncServiceFactory::SetSyncClientFactoryForTest( | 205 void ProfileSyncServiceFactory::SetSyncClientFactoryForTest( |
| 206 SyncClientFactory* client_factory) { | 206 SyncClientFactory* client_factory) { |
| 207 client_factory_ = client_factory; | 207 client_factory_ = client_factory; |
| 208 } | 208 } |
| 209 | 209 |
| 210 // static | 210 // static |
| 211 ProfileSyncServiceFactory::SyncClientFactory* | 211 ProfileSyncServiceFactory::SyncClientFactory* |
| 212 ProfileSyncServiceFactory::client_factory_ = nullptr; | 212 ProfileSyncServiceFactory::client_factory_ = nullptr; |
| OLD | NEW |