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" |
| 11 #include "base/threading/sequenced_worker_pool.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "build/build_config.h" | 13 #include "build/build_config.h" |
13 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 14 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
14 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
15 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/defaults.h" | 17 #include "chrome/browser/defaults.h" |
17 #include "chrome/browser/gcm/gcm_profile_service_factory.h" | 18 #include "chrome/browser/gcm/gcm_profile_service_factory.h" |
18 #include "chrome/browser/history/history_service_factory.h" | 19 #include "chrome/browser/history/history_service_factory.h" |
19 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" | 20 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" |
20 #include "chrome/browser/password_manager/password_store_factory.h" | 21 #include "chrome/browser/password_manager/password_store_factory.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 | 237 |
237 // static | 238 // static |
238 void ProfileSyncServiceFactory::SetSyncClientFactoryForTest( | 239 void ProfileSyncServiceFactory::SetSyncClientFactoryForTest( |
239 SyncClientFactory* client_factory) { | 240 SyncClientFactory* client_factory) { |
240 client_factory_ = client_factory; | 241 client_factory_ = client_factory; |
241 } | 242 } |
242 | 243 |
243 // static | 244 // static |
244 ProfileSyncServiceFactory::SyncClientFactory* | 245 ProfileSyncServiceFactory::SyncClientFactory* |
245 ProfileSyncServiceFactory::client_factory_ = nullptr; | 246 ProfileSyncServiceFactory::client_factory_ = nullptr; |
OLD | NEW |