| Index: chrome/browser/chromeos/chrome_interface_factory.cc
|
| diff --git a/chrome/browser/chromeos/chrome_interface_factory.cc b/chrome/browser/chromeos/chrome_interface_factory.cc
|
| index 6411e47cb5fb7572039e095ef5924b46ec6c0db4..95ab0eb0a086ea5294f06125176043775afe5c9f 100644
|
| --- a/chrome/browser/chromeos/chrome_interface_factory.cc
|
| +++ b/chrome/browser/chromeos/chrome_interface_factory.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "ash/common/mojo_interface_factory.h"
|
| #include "ash/public/interfaces/wallpaper.mojom.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/memory/weak_ptr.h"
|
| @@ -14,6 +15,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/ui/ash/app_list/app_list_presenter_service.h"
|
| +#include "chrome/browser/ui/ash/ash_util.h"
|
| #include "chrome/browser/ui/ash/chrome_wallpaper_manager.h"
|
| #include "chrome/browser/ui/ash/keyboard_ui_service.h"
|
| #include "chrome/browser/ui/ash/system_tray_client.h"
|
| @@ -169,6 +171,13 @@ bool ChromeInterfaceFactory::OnConnect(const shell::Identity& remote_identity,
|
| registry, main_thread_task_runner_);
|
| FactoryImpl::AddFactory<app_list::mojom::AppListPresenter>(
|
| registry, main_thread_task_runner_);
|
| +
|
| + // In classic ash, the browser process provides ash services to itself.
|
| + if (!chrome::IsRunningInMash()) {
|
| + ash::MojoInterfaceFactory::RegisterInterfaces(registry,
|
| + main_thread_task_runner_);
|
| + }
|
| +
|
| return true;
|
| }
|
|
|
|
|