| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 51b38f4d5e11be6e0efa0dda0713a769fa989bfb..c9c6494e137b9cab7e3665e25db3ced6c5f4df18 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -47,9 +47,6 @@
|
| #include "chrome/browser/net/ssl_config_service_manager.h"
|
| #include "chrome/browser/password_manager/password_store_default.h"
|
| #include "chrome/browser/policy/configuration_policy_pref_store.h"
|
| -#include "chrome/browser/policy/configuration_policy_provider.h"
|
| -#include "chrome/browser/policy/profile_policy_connector.h"
|
| -#include "chrome/browser/policy/profile_policy_connector_factory.h"
|
| #include "chrome/browser/prefs/browser_prefs.h"
|
| #include "chrome/browser/prefs/pref_value_store.h"
|
| #include "chrome/browser/prefs/scoped_user_pref_update.h"
|
| @@ -306,7 +303,6 @@ ProfileImpl::ProfileImpl(const FilePath& path,
|
| prefs_.reset(PrefService::CreatePrefService(
|
| GetPrefFilePath(),
|
| new ExtensionPrefStore(GetExtensionPrefValueMap(), false),
|
| - GetOriginalProfile(),
|
| true));
|
| // Wait for the notifcation that prefs has been loaded (successfully or
|
| // not).
|
| @@ -317,7 +313,6 @@ ProfileImpl::ProfileImpl(const FilePath& path,
|
| prefs_.reset(PrefService::CreatePrefService(
|
| GetPrefFilePath(),
|
| new ExtensionPrefStore(GetExtensionPrefValueMap(), false),
|
| - GetOriginalProfile(),
|
| false));
|
| OnPrefsLoaded(true);
|
| }
|
| @@ -422,10 +417,6 @@ void ProfileImpl::DoFinalInit() {
|
| media_cache_path, media_cache_max_size, extensions_cookie_path,
|
| app_path);
|
|
|
| - policy::ProfilePolicyConnector* policy_connector =
|
| - policy::ProfilePolicyConnectorFactory::GetForProfile(this);
|
| - policy_connector->Initialize();
|
| -
|
| // Creation has been finished.
|
| if (delegate_)
|
| delegate_->OnProfileCreated(this, true);
|
|
|