Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index fd72bb22ea9ed71e5a1b846a71b34263e516f0ab..756881edf7fc9f6c96459b4d27c4fa800f7d3257 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -35,6 +35,7 @@ |
#include "chrome/browser/extensions/extension_pref_store.h" |
#include "chrome/browser/extensions/extension_process_manager.h" |
#include "chrome/browser/extensions/extension_service.h" |
+#include "chrome/browser/extensions/extension_settings.h" |
#include "chrome/browser/extensions/extension_special_storage_policy.h" |
#include "chrome/browser/extensions/user_script_master.h" |
#include "chrome/browser/favicon/favicon_service.h" |
@@ -480,6 +481,7 @@ void ProfileImpl::InitExtensions(bool extensions_enabled) { |
CommandLine::ForCurrentProcess(), |
GetPath().AppendASCII(ExtensionService::kInstallDirectoryName), |
extension_prefs_.get(), |
+ extension_settings_.get(), |
autoupdate_enabled, |
extensions_enabled)); |
@@ -892,6 +894,9 @@ void ProfileImpl::OnPrefsLoaded(bool success) { |
GetPath().AppendASCII(ExtensionService::kInstallDirectoryName), |
GetExtensionPrefValueMap())); |
+ extension_settings_ = new ExtensionSettings( |
+ GetPath().AppendASCII(ExtensionService::kSettingsDirectoryName)); |
+ |
ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false); |
DCHECK(!net_pref_observer_.get()); |