| Index: chrome/browser/sync/glue/search_engine_data_type_controller.cc
|
| diff --git a/chrome/browser/sync/glue/search_engine_data_type_controller.cc b/chrome/browser/sync/glue/search_engine_data_type_controller.cc
|
| index cd5d0b049f315805134338c9786dd23f5cd9131b..ac149010cf8b20350eb02e3b18a254327d130c58 100644
|
| --- a/chrome/browser/sync/glue/search_engine_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/search_engine_data_type_controller.cc
|
| @@ -8,7 +8,6 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| #include "chrome/browser/sync/glue/chrome_report_unrecoverable_error.h"
|
| -#include "chrome/browser/sync/profile_sync_components_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "sync/api/syncable_service.h"
|
| @@ -18,16 +17,16 @@ using content::BrowserThread;
|
| namespace browser_sync {
|
|
|
| SearchEngineDataTypeController::SearchEngineDataTypeController(
|
| - ProfileSyncComponentsFactory* profile_sync_factory,
|
| + SyncApiComponentFactory* sync_factory,
|
| Profile* profile,
|
| ProfileSyncService* sync_service)
|
| : UIDataTypeController(
|
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
|
| base::Bind(&ChromeReportUnrecoverableError),
|
| syncer::SEARCH_ENGINES,
|
| - profile_sync_factory,
|
| - profile,
|
| - sync_service) {
|
| + sync_factory,
|
| + sync_service),
|
| + profile_(profile) {
|
| }
|
|
|
| SearchEngineDataTypeController::~SearchEngineDataTypeController() {}
|
|
|