def _MethodSupportsLazySerialization(self, method): if not self.support_lazy_serialization: return False # TODO(crbug.com/753433): Support lazy serialization for methods which pass # associated handles. if mojom.MethodPassesAssociatedKinds(method): return False return not any(self._KindMustBeSerialized(param.kind) for param in method.parameters + (method.response_parameters or []))
def _MethodSupportsLazySerialization(self, method): # TODO(crbug.com/753431,crbug.com/753433): Support lazy serialization for # methods which pass associated handles and InterfacePtrs. return self.support_lazy_serialization and ( not mojom.MethodPassesAssociatedKinds(method) and not mojom.MethodPassesInterfaces(method))
def _MethodSupportsLazySerialization(self, method): # TODO(crbug.com/753433): Support lazy serialization for methods which pass # associated handles. return (self.support_lazy_serialization and not mojom.MethodPassesAssociatedKinds(method))
def _MethodSupportsLazySerialization(self, method): return self.support_lazy_serialization and ( not mojom.MethodPassesAssociatedKinds(method) and not mojom.MethodPassesInterfaces(method))