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

Unified Diff: chrome/browser/extensions/component_extensions_whitelist/whitelist.cc

Issue 1177973005: Correct ENABLE_MEDIA_ROUTER defines to fix compilation without it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit fix. Created 5 years, 6 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
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,

Powered by Google App Engine
This is Rietveld 408576698