| Index: chrome/common/chrome_switches.cc
|
| diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
|
| index 2881fa8b31198a26b40c8c507538bb242a209ec1..e64901c08250eede639296132ce66053093736cf 100644
|
| --- a/chrome/common/chrome_switches.cc
|
| +++ b/chrome/common/chrome_switches.cc
|
| @@ -273,6 +273,9 @@ const char kDisableIPv6[] = "disable-ipv6";
|
| const char kDisableMinimizeOnSecondLauncherItemClick[] =
|
| "disable-minimize-on-second-launcher-item-click";
|
|
|
| +// Disable using Mojo for utility process services.
|
| +const char kDisableMojoUtilityServices[] = "disable-mojo-utility-services";
|
| +
|
| // Disables the new bookmark app system.
|
| const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps";
|
|
|
| @@ -1369,6 +1372,15 @@ bool MdSettingsEnabled() {
|
| ::switches::kEnableMaterialDesignSettings);
|
| }
|
|
|
| +bool MojoUtilityServicesEnabled() {
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + kDisableMojoUtilityServices)) {
|
| + return false;
|
| + }
|
| +
|
| + return true;
|
| +}
|
| +
|
| bool SettingsWindowEnabled() {
|
| #if defined(OS_CHROMEOS)
|
| return !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
|
|