Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index 3edff1d9c49408b5aa8df4567f33a49fdf4583ca..4b3eb9fd7acbfdad0d9e27ebb93ae98257236028 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -276,6 +276,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"; |
@@ -1393,6 +1396,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( |