Index: chrome/browser/policy/profile_policy_connector_factory.cc |
diff --git a/chrome/browser/policy/profile_policy_connector_factory.cc b/chrome/browser/policy/profile_policy_connector_factory.cc |
index c7eb67a15ac6b1eaa43108ef9590777555a836fc..8089a3d2ce846440b30e9330d060b13db4be4957 100644 |
--- a/chrome/browser/policy/profile_policy_connector_factory.cc |
+++ b/chrome/browser/policy/profile_policy_connector_factory.cc |
@@ -8,9 +8,7 @@ |
#include "base/memory/singleton.h" |
#include "chrome/browser/policy/profile_policy_connector.h" |
#include "chrome/browser/profiles/profile.h" |
-#include "chrome/common/pref_names.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
-#include "components/pref_registry/pref_registry_syncable.h" |
#if defined(ENABLE_CONFIGURATION_POLICY) |
#include "chrome/browser/policy/schema_registry_service.h" |
@@ -139,15 +137,6 @@ void ProfilePolicyConnectorFactory::BrowserContextDestroyed( |
BrowserContextKeyedBaseFactory::BrowserContextDestroyed(context); |
} |
-void ProfilePolicyConnectorFactory::RegisterProfilePrefs( |
- user_prefs::PrefRegistrySyncable* registry) { |
-#if defined(OS_ANDROID) || defined(OS_IOS) |
- registry->RegisterListPref( |
- prefs::kManagedBookmarks, |
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
-#endif |
-} |
- |
void ProfilePolicyConnectorFactory::SetEmptyTestingFactory( |
content::BrowserContext* context) {} |