| Index: chrome/common/chrome_switches.cc
|
| diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
|
| index 60cafaf3f19fcad85d5daf1a2a20e86d42b8329e..887d07930eb5cd7ed438f803295ded696737d964 100644
|
| --- a/chrome/common/chrome_switches.cc
|
| +++ b/chrome/common/chrome_switches.cc
|
| @@ -1334,8 +1334,12 @@ bool MdSettingsEnabled() {
|
| }
|
|
|
| bool MediaRouterEnabled() {
|
| +#if defined(ENABLE_MEDIA_ROUTER)
|
| return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| ::switches::kEnableMediaRouter);
|
| +#else
|
| + return false;
|
| +#endif
|
| }
|
|
|
| // Will return true as a default value if the "disable-new-offline-error-page"
|
|
|