Chromium Code Reviews| 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..1c6298b8878e2bf07e48e39e64208513960bb157 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_CHROMEOS) || defined(OS_WIN) |
|
Matt Giuca
2016/12/08 06:42:56
You shouldn't need OS_CHROMEOS because LINUX impli
constantina
2016/12/09 02:24:14
Done.
|
| + if (!ChromeOriginTrialPolicy().IsFeatureDisabled("WebShare")) { |
| + registry->AddInterface(base::Bind(&ShareServiceImpl::Create)); |
| + } |
| +#endif |
| } |
| void ChromeContentBrowserClient::ExposeInterfacesToGpuProcess( |