| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/sync/ios_chrome_sync_client.h" | 5 #include "ios/chrome/browser/sync/ios_chrome_sync_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/macros.h" |
| 9 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service
.h" | 10 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service
.h" |
| 10 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" | 11 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" |
| 11 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync
able_service.h" | 12 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync
able_service.h" |
| 12 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv
ice.h" | 13 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv
ice.h" |
| 13 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 14 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 14 #include "components/browser_sync/browser/profile_sync_components_factory_impl.h
" | 15 #include "components/browser_sync/browser/profile_sync_components_factory_impl.h
" |
| 15 #include "components/browser_sync/browser/profile_sync_service.h" | 16 #include "components/browser_sync/browser/profile_sync_service.h" |
| 16 #include "components/browser_sync/common/browser_sync_switches.h" | 17 #include "components/browser_sync/common/browser_sync_switches.h" |
| 17 #include "components/dom_distiller/core/dom_distiller_service.h" | 18 #include "components/dom_distiller/core/dom_distiller_service.h" |
| 18 #include "components/history/core/browser/history_model_worker.h" | 19 #include "components/history/core/browser/history_model_worker.h" |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 375 |
| 375 void IOSChromeSyncClient::ClearBrowsingData(base::Time start, base::Time end) { | 376 void IOSChromeSyncClient::ClearBrowsingData(base::Time start, base::Time end) { |
| 376 // This method should never be called on iOS. | 377 // This method should never be called on iOS. |
| 377 NOTREACHED(); | 378 NOTREACHED(); |
| 378 } | 379 } |
| 379 | 380 |
| 380 void IOSChromeSyncClient::SetSyncApiComponentFactoryForTesting( | 381 void IOSChromeSyncClient::SetSyncApiComponentFactoryForTesting( |
| 381 scoped_ptr<sync_driver::SyncApiComponentFactory> component_factory) { | 382 scoped_ptr<sync_driver::SyncApiComponentFactory> component_factory) { |
| 382 component_factory_ = component_factory.Pass(); | 383 component_factory_ = component_factory.Pass(); |
| 383 } | 384 } |
| OLD | NEW |