Index: chrome/browser/prefs/browser_prefs.cc |
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc |
index 623c2afcda192f6cbc628c2568e577cb580e8bdb..bddcc333f73dbc0d0174adddfcd2e75302663fea 100644 |
--- a/chrome/browser/prefs/browser_prefs.cc |
+++ b/chrome/browser/prefs/browser_prefs.cc |
@@ -227,7 +227,6 @@ |
#include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
#include "chromeos/audio/audio_devices_pref_handler_impl.h" |
#include "chromeos/chromeos_switches.h" |
-#include "chromeos/components/tether/initializer.h" |
#include "chromeos/network/proxy/proxy_config_handler.h" |
#include "chromeos/timezone/timezone_resolver.h" |
#include "components/invalidation/impl/invalidator_storage.h" |
@@ -241,10 +240,6 @@ |
#include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" |
#endif |
-#if defined(OS_CHROMEOS) || BUILDFLAG(ENABLE_EXTENSIONS) |
-#include "components/cryptauth/cryptauth_service.h" |
-#endif |
- |
#if defined(OS_MACOSX) |
#include "chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h" |
#include "chrome/browser/ui/cocoa/confirm_quit.h" |
@@ -520,12 +515,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
policy::URLBlacklistManager::RegisterProfilePrefs(registry); |
certificate_transparency::CTPolicyManager::RegisterPrefs(registry); |
-#if BUILDFLAG(ENABLE_EXTENSIONS) || defined(OS_CHROMEOS) |
- cryptauth::CryptAuthService::RegisterProfilePrefs(registry); |
-#endif |
- |
#if BUILDFLAG(ENABLE_EXTENSIONS) |
- EasyUnlockService::RegisterProfilePrefs(registry); |
ExtensionWebUI::RegisterProfilePrefs(registry); |
RegisterAnimationPolicyPrefs(registry); |
ToolbarActionsBar::RegisterProfilePrefs(registry); |
@@ -617,10 +607,6 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
chromeos::SAMLOfflineSigninLimiter::RegisterProfilePrefs(registry); |
chromeos::ServicesCustomizationDocument::RegisterProfilePrefs(registry); |
chromeos::system::InputDeviceSettings::RegisterProfilePrefs(registry); |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
- chromeos::switches::kEnableTether)) { |
- chromeos::tether::Initializer::RegisterProfilePrefs(registry); |
Kyle Horimoto
2017/04/14 00:15:43
When is RegisterProfilePrefs() actually called now
Ryan Hansberry
2017/04/14 02:34:10
When we call DependsOn() in our ServiceFactories,
|
- } |
chromeos::UserImageSyncObserver::RegisterProfilePrefs(registry); |
extensions::EPKPChallengeUserKey::RegisterProfilePrefs(registry); |
flags_ui::PrefServiceFlagsStorage::RegisterProfilePrefs(registry); |