Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc

Issue 2760403003: Remove enable_media_router. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/url_constants.cc ('k') | chrome/renderer/resources/renderer_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc
diff --git a/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc b/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc
index ff680783653d463097cb33dff699353805741d8d..61b51afbd2097b7cdece1fc017b7c6415bbb8491 100644
--- a/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc
+++ b/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc
@@ -264,7 +264,7 @@ void ChromeExtensionsDispatcherDelegate::PopulateSourceMap(
IDR_CHROME_WEB_VIEW_INTERNAL_CUSTOM_BINDINGS_JS);
source_map->RegisterSource("chromeWebView", IDR_CHROME_WEB_VIEW_JS);
-#if defined(ENABLE_MEDIA_ROUTER)
+ // Media router.
source_map->RegisterSource(
"chrome/common/media_router/mojo/media_controller.mojom",
IDR_MEDIA_CONTROLLER_MOJOM_JS);
@@ -281,7 +281,6 @@ void ChromeExtensionsDispatcherDelegate::PopulateSourceMap(
IDR_MOJO_IP_ADDRESS_MOJOM_JS);
source_map->RegisterSource("url/mojo/origin.mojom", IDR_ORIGIN_MOJOM_JS);
source_map->RegisterSource("url/mojo/url.mojom", IDR_MOJO_URL_MOJOM_JS);
-#endif // defined(ENABLE_MEDIA_ROUTER)
}
void ChromeExtensionsDispatcherDelegate::RequireAdditionalModules(
« no previous file with comments | « chrome/common/url_constants.cc ('k') | chrome/renderer/resources/renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698