| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 01c9326508cfbd2e516ecb776ffc730cfedea3ea..6d8074418e60fedffed35b1a2cd790caaa0d159f 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -196,6 +196,7 @@
|
| #include "ppapi/host/ppapi_host.h"
|
| #include "printing/features/features.h"
|
| #include "services/image_decoder/public/interfaces/constants.mojom.h"
|
| +#include "services/preferences/public/cpp/pref_store_manager_impl.h"
|
| #include "services/preferences/public/interfaces/preferences.mojom.h"
|
| #include "services/service_manager/public/cpp/interface_provider.h"
|
| #include "services/service_manager/public/cpp/interface_registry.h"
|
| @@ -3116,6 +3117,16 @@ void ChromeContentBrowserClient::RegisterInProcessServices(
|
| services->insert(std::make_pair(prefs::mojom::kServiceName, info));
|
| }
|
| #endif // OS_CHROMEOS
|
| + {
|
| + LOG(INFO) << "ChromeContentBrowserClient::RegisterInProcessServices";
|
| + content::ServiceInfo info;
|
| + info.factory = base::Bind([] {
|
| + return std::unique_ptr<service_manager::Service>(
|
| + base::MakeUnique<prefs::PrefStoreManagerImpl>());
|
| + });
|
| + // info.task_runner = base::ThreadTaskRunnerHandle::Get();
|
| + services->insert(std::make_pair(prefs::mojom::kPrefStoreServiceName, info));
|
| + }
|
| }
|
|
|
| void ChromeContentBrowserClient::RegisterOutOfProcessServices(
|
|
|