| Index: chrome/common/chrome_switches.cc
|
| diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
|
| index 25575f7aecad86970143d913e4d9109cf28ca3da..0e742689b90fed2e89277c86f565d24ee6c73e49 100644
|
| --- a/chrome/common/chrome_switches.cc
|
| +++ b/chrome/common/chrome_switches.cc
|
| @@ -274,6 +274,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";
|
|
|
| @@ -1353,6 +1356,15 @@ bool PdfMaterialUIEnabled() {
|
| return false;
|
| }
|
|
|
| +bool MojoUtilityServicesEnabled() {
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + kDisableMojoUtilityServices)) {
|
| + return false;
|
| + }
|
| +
|
| + return true;
|
| +}
|
| +
|
| bool SettingsWindowEnabled() {
|
| #if defined(OS_CHROMEOS)
|
| return !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
|
|