| 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 "chrome/browser/sync/chrome_sync_client.h" | 5 #include "chrome/browser/sync/chrome_sync_client.h" |
| 6 | 6 |
| 7 #include <memory> | |
| 8 #include <utility> | 7 #include <utility> |
| 9 | 8 |
| 10 #include "base/bind.h" | 9 #include "base/bind.h" |
| 11 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 12 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 13 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 14 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 13 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 14 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 16 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
| 17 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 16 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 sync_service->RegisterDataTypeController( | 643 sync_service->RegisterDataTypeController( |
| 645 base::MakeUnique<SupervisedUserSyncDataTypeController>( | 644 base::MakeUnique<SupervisedUserSyncDataTypeController>( |
| 646 syncer::SUPERVISED_USER_SETTINGS, error_callback, this, profile_)); | 645 syncer::SUPERVISED_USER_SETTINGS, error_callback, this, profile_)); |
| 647 sync_service->RegisterDataTypeController( | 646 sync_service->RegisterDataTypeController( |
| 648 base::MakeUnique<SupervisedUserSyncDataTypeController>( | 647 base::MakeUnique<SupervisedUserSyncDataTypeController>( |
| 649 syncer::SUPERVISED_USER_WHITELISTS, error_callback, this, profile_)); | 648 syncer::SUPERVISED_USER_WHITELISTS, error_callback, this, profile_)); |
| 650 #endif | 649 #endif |
| 651 } | 650 } |
| 652 | 651 |
| 653 } // namespace browser_sync | 652 } // namespace browser_sync |
| OLD | NEW |