| 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 2cab771dcbe9857263ba97ea71a87b5e9eea2297..0b03d418b53025c919b4bfeda85a7350ddbb8719 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -97,6 +97,7 @@
|
| #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
|
| #include "chrome/browser/ui/webui/log_web_ui_url.h"
|
| #include "chrome/browser/usb/usb_tab_helper.h"
|
| +#include "chrome/browser/webshare/share_service_impl.h"
|
| #include "chrome/common/channel_info.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_paths.h"
|
| @@ -3042,6 +3043,11 @@ void ChromeContentBrowserClient::RegisterRenderFrameMojoInterfaces(
|
| }
|
| #endif
|
|
|
| +#if defined(OS_LINUX) || defined(OS_WIN)
|
| + if (!ChromeOriginTrialPolicy().IsFeatureDisabled("WebShare")) {
|
| + registry->AddInterface(base::Bind(&ShareServiceImpl::Create));
|
| + }
|
| +#endif
|
| }
|
|
|
| void ChromeContentBrowserClient::ExposeInterfacesToGpuProcess(
|
|
|