/** Sets service class for sandboxed service and privileged service. */
 public static void setChildProcessClass(
     Class<? extends SandboxedProcessService> sandboxedServiceClass,
     Class<? extends PrivilegedProcessService> privilegedServiceClass) {
   // We should guarantee this is called before allocating connection.
   assert !sConnectionAllocated;
   sSandboxedChildConnectionAllocator.setServiceClass(sandboxedServiceClass);
   sPrivilegedChildConnectionAllocator.setServiceClass(privilegedServiceClass);
 }