Refactor BrowserDataMigrator.
Refactors BrowserDataMigrator and turns some methods into instance
methods. This is in preparation to implementing move migration
(go/lacros-move-migration) which requires multiple hops between UI
thread and worker thread.
Test: unit_tests
Bug: 1261730
Change-Id: I2a3f7a0126f738130aac08ec8b140d48b8748faf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3350149
Reviewed-by: Denis Kuznetsov <[email protected]>
Reviewed-by: Dominic Battré <[email protected]>
Reviewed-by: Stefan Kuhne <[email protected]>
Reviewed-by: Alexander Alekseev <[email protected]>
Commit-Queue: Yuta Hijikata <[email protected]>
Cr-Commit-Position: refs/heads/main@{#953773}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 3aa33b0..043a224 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -1016,7 +1016,7 @@
ash::ChromeUserManagerImpl::RegisterPrefs(registry);
crosapi::browser_util::RegisterLocalStatePrefs(registry);
chromeos::CupsPrintersManager::RegisterLocalStatePrefs(registry);
- ash::BrowserDataMigrator::RegisterLocalStatePrefs(registry);
+ ash::BrowserDataMigratorImpl::RegisterLocalStatePrefs(registry);
chromeos::bluetooth_config::BluetoothPowerControllerImpl::
RegisterLocalStatePrefs(registry);
chromeos::bluetooth_config::DeviceNameManagerImpl::RegisterLocalStatePrefs(