Index: chrome/browser/extensions/component_extensions_whitelist/whitelist.cc |
diff --git a/chrome/browser/extensions/component_extensions_whitelist/whitelist.cc b/chrome/browser/extensions/component_extensions_whitelist/whitelist.cc |
index 1e0e87aab1da47e533fc9fce48dd6ac455a87c10..d0e3525debbebdd3192568207e04782a133a4478 100644 |
--- a/chrome/browser/extensions/component_extensions_whitelist/whitelist.cc |
+++ b/chrome/browser/extensions/component_extensions_whitelist/whitelist.cc |
@@ -28,7 +28,9 @@ bool IsComponentExtensionWhitelisted(const std::string& extension_id) { |
const char* allowed[] = { |
extension_misc::kHotwordSharedModuleId, |
extension_misc::kInAppPaymentsSupportAppId, |
+#if defined(ENABLE_MEDIA_ROUTER) |
extension_misc::kMediaRouterStableExtensionId, |
+#endif // defined(ENABLE_MEDIA_ROUTER) |
extension_misc::kPdfExtensionId, |
#if defined(OS_CHROMEOS) |
extension_misc::kChromeVoxExtensionId, |