Example #1
0
class UnionOfStructs(object):
    __metaclass__ = _reflection.MojoUnionType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup(
                'nr', _descriptor.StructType(lambda: NamedRegion), 0, 0),
            _descriptor.SingleFieldGroup(
                'a_nr',
                _descriptor.GenericArrayType(
                    _descriptor.StructType(lambda: NamedRegion)), 1, 0),
            _descriptor.SingleFieldGroup(
                'a_rp',
                _descriptor.GenericArrayType(
                    _descriptor.StructType(lambda: RectPair)), 2, 0),
            _descriptor.SingleFieldGroup(
                'm_ndfv',
                _descriptor.MapType(
                    _descriptor.TYPE_INT64,
                    _descriptor.StructType(lambda: NoDefaultFieldValues)), 3,
                0),
            _descriptor.SingleFieldGroup(
                'm_hs',
                _descriptor.MapType(
                    _descriptor.TYPE_INT64,
                    _descriptor.StructType(lambda: HandleStruct)), 4, 0),
        ],
    }
Example #2
0
class SomeInterface(object):
    __metaclass__ = _interface_reflection.MojoInterfaceType
    DESCRIPTOR = {
        'fully_qualified_name':
        None,
        'version':
        0,
        'methods': [
            {
                'name': 'SomeMethod',
                'ordinal': 0,
                'parameters': {
                    'fields': [
                        _descriptor.SingleFieldGroup(
                            'pair', _descriptor.StructType(lambda: RectPair),
                            0, 0),
                    ],
                },
                'responses': {
                    'fields': [
                        _descriptor.SingleFieldGroup(
                            'other_pair',
                            _descriptor.StructType(lambda: RectPair), 0, 0),
                    ],
                },
            },
        ],
    }
Example #3
0
class CommandBufferSyncClient(object):
  __metaclass__ = _interface_reflection.MojoInterfaceType
  DESCRIPTOR = {
    'fully_qualified_name': None,
    'version': 0,
    'methods': [
      {
        'name': 'DidInitialize',
        'ordinal': 0,
        'parameters': {
          'fields': [
            _descriptor.BooleanGroup([_descriptor.FieldDescriptor('success', _descriptor.TYPE_BOOL, 0, 0)]),
            _descriptor.SingleFieldGroup('capabilities', _descriptor.StructType(lambda: gpu_capabilities_mojom.GpuCapabilities), 1, 0),
          ],
        },
      },
      {
        'name': 'DidMakeProgress',
        'ordinal': 1,
        'parameters': {
          'fields': [
            _descriptor.SingleFieldGroup('state', _descriptor.StructType(lambda: CommandBufferState), 0, 0),
          ],
        },
      },
    ],
  }
class TcpServerSocket(object):
  __metaclass__ = _interface_reflection.MojoInterfaceType
  DESCRIPTOR = {
    'fully_qualified_name': None,
    'version': 0,
    'methods': [
      {
        'name': 'Accept',
        'ordinal': 0,
        'parameters': {
          'fields': [
            _descriptor.SingleFieldGroup('send_stream', _descriptor.TYPE_HANDLE, 0, 0),
            _descriptor.SingleFieldGroup('receive_stream', _descriptor.TYPE_HANDLE, 1, 0),
            _descriptor.SingleFieldGroup('client_socket', _descriptor.InterfaceRequestType(), 2, 0),
          ],
        },
        'responses': {
          'fields': [
            _descriptor.SingleFieldGroup('result', _descriptor.StructType(lambda: network_error_mojom.NetworkError), 0, 0),
            _descriptor.SingleFieldGroup('remote_address', _descriptor.StructType(lambda: net_address_mojom.NetAddress, nullable=True), 1, 0),
          ],
        },
      },
    ],
  }
Example #5
0
class UnionA(object):
    __metaclass__ = _reflection.MojoUnionType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup('a', _descriptor.TYPE_UINT16, 0, 0),
            _descriptor.SingleFieldGroup('b', _descriptor.TYPE_UINT32, 1, 0),
            _descriptor.SingleFieldGroup(
                'c', _descriptor.StructType(lambda: StructA, nullable=True), 2,
                0),
            _descriptor.SingleFieldGroup(
                'd', _descriptor.NativeArrayType('B', nullable=True), 3, 0),
            _descriptor.SingleFieldGroup(
                'e',
                _descriptor.MapType(_descriptor.TYPE_STRING,
                                    _descriptor.TYPE_UINT8,
                                    nullable=True), 4, 0),
            _descriptor.SingleFieldGroup(
                'f', _descriptor.UnionType(lambda: UnionB, nullable=True), 5,
                0),
            _descriptor.SingleFieldGroup(
                'g', _descriptor.StructType(lambda: StructA), 6, 0),
            _descriptor.SingleFieldGroup('h', _descriptor.NativeArrayType('B'),
                                         7, 0),
            _descriptor.SingleFieldGroup(
                'i',
                _descriptor.MapType(_descriptor.TYPE_STRING,
                                    _descriptor.TYPE_UINT8), 8, 0),
            _descriptor.SingleFieldGroup('j',
                                         _descriptor.UnionType(lambda: UnionB),
                                         9, 0),
        ],
    }
class ObjectUnion(object):
    __metaclass__ = _reflection.MojoUnionType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup('f_int8', _descriptor.TYPE_INT8, 0,
                                         0),
            _descriptor.SingleFieldGroup('f_string', _descriptor.TYPE_STRING,
                                         1, 0),
            _descriptor.SingleFieldGroup(
                'f_dummy', _descriptor.StructType(lambda: DummyStruct), 2, 0),
            _descriptor.SingleFieldGroup(
                'f_nullable',
                _descriptor.StructType(lambda: DummyStruct, nullable=True), 3,
                0),
            _descriptor.SingleFieldGroup('f_array_int8',
                                         _descriptor.NativeArrayType('b'), 4,
                                         0),
            _descriptor.SingleFieldGroup(
                'f_map_int8',
                _descriptor.MapType(_descriptor.TYPE_STRING,
                                    _descriptor.TYPE_INT8), 5, 0),
            _descriptor.SingleFieldGroup(
                'f_pod_union', _descriptor.UnionType(lambda: PodUnion), 6, 0),
        ],
    }
Example #7
0
class MojomFile(object):
    __metaclass__ = _reflection.MojoStructType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup('file_name', _descriptor.TYPE_STRING,
                                         0, 0),
            _descriptor.SingleFieldGroup('specified_file_name',
                                         _descriptor.TYPE_NULLABLE_STRING, 1,
                                         0),
            _descriptor.SingleFieldGroup('module_namespace',
                                         _descriptor.TYPE_NULLABLE_STRING, 2,
                                         0),
            _descriptor.SingleFieldGroup(
                'attributes',
                _descriptor.GenericArrayType(_descriptor.StructType(
                    lambda: mojom_types_mojom.Attribute),
                                             nullable=True), 3, 0),
            _descriptor.SingleFieldGroup(
                'imports',
                _descriptor.GenericArrayType(_descriptor.TYPE_STRING,
                                             nullable=True), 4, 0),
            _descriptor.SingleFieldGroup(
                'declared_mojom_objects',
                _descriptor.StructType(lambda: KeysByType), 5, 0),
            _descriptor.SingleFieldGroup('serialized_runtime_type_info',
                                         _descriptor.TYPE_NULLABLE_STRING, 6,
                                         0),
        ],
    }
Example #8
0
class Activity(object):
  __metaclass__ = _interface_reflection.MojoInterfaceType
  DESCRIPTOR = {
    'fully_qualified_name': 'activity::Activity',
    'version': 0,
    'methods': [
      {
        'name': 'GetUserFeedback',
        'ordinal': 0,
        'parameters': {
          'fields': [
            _descriptor.SingleFieldGroup('user_feedback', _descriptor.InterfaceRequestType(), 0, 0),
          ],
        },
      },
      {
        'name': 'StartActivity',
        'ordinal': 1,
        'parameters': {
          'fields': [
            _descriptor.SingleFieldGroup('intent', _descriptor.StructType(lambda: Intent), 0, 0),
          ],
        },
      },
      {
        'name': 'FinishCurrentActivity',
        'ordinal': 2,
        'parameters': {
        },
      },
      {
        'name': 'SetTaskDescription',
        'ordinal': 3,
        'parameters': {
          'fields': [
            _descriptor.SingleFieldGroup('description', _descriptor.StructType(lambda: TaskDescription), 0, 0),
          ],
        },
      },
      {
        'name': 'SetSystemUiVisibility',
        'ordinal': 4,
        'parameters': {
          'fields': [
            _descriptor.SingleFieldGroup('visibility', _descriptor.TYPE_INT32, 0, 0),
          ],
        },
      },
      {
        'name': 'SetRequestedOrientation',
        'ordinal': 5,
        'parameters': {
          'fields': [
            _descriptor.SingleFieldGroup('orientation', _descriptor.TYPE_INT32, 0, 0),
          ],
        },
      },
    ],
  }
Example #9
0
class MojomEnum(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('decl_data', _descriptor.StructType(lambda: DeclarationData, nullable=True), 0, 0),
      _descriptor.SingleFieldGroup('values', _descriptor.GenericArrayType(_descriptor.StructType(lambda: EnumValue)), 1, 0),
    ],
  }
Example #10
0
class UserDefinedValue(object):
  __metaclass__ = _reflection.MojoUnionType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('enum_value', _descriptor.StructType(lambda: EnumValue), 0, 0),
      _descriptor.SingleFieldGroup('declared_constant', _descriptor.StructType(lambda: DeclaredConstant), 1, 0),
    ],
   }
Example #11
0
class NetAddress(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('family', _descriptor.TYPE_INT32, 0, 0, default_value=0),
      _descriptor.SingleFieldGroup('ipv4', _descriptor.StructType(lambda: NetAddressIPv4, nullable=True), 1, 0),
      _descriptor.SingleFieldGroup('ipv6', _descriptor.StructType(lambda: NetAddressIPv6, nullable=True), 2, 0),
    ],
  }
Example #12
0
class MojomStruct(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('decl_data', _descriptor.StructType(lambda: DeclarationData, nullable=True), 0, 0),
      _descriptor.SingleFieldGroup('fields', _descriptor.GenericArrayType(_descriptor.StructType(lambda: StructField)), 1, 0),
      _descriptor.SingleFieldGroup('version_info', _descriptor.GenericArrayType(_descriptor.StructType(lambda: StructVersion), nullable=True), 2, 0),
    ],
  }
class UrlLoader(object):
    __metaclass__ = _interface_reflection.MojoInterfaceType
    DESCRIPTOR = {
        'fully_qualified_name':
        None,
        'version':
        0,
        'methods': [
            {
                'name': 'Start',
                'ordinal': 0,
                'parameters': {
                    'fields': [
                        _descriptor.SingleFieldGroup(
                            'request',
                            _descriptor.StructType(
                                lambda: url_request_mojom.UrlRequest), 0, 0),
                    ],
                },
                'responses': {
                    'fields': [
                        _descriptor.SingleFieldGroup(
                            'response',
                            _descriptor.StructType(
                                lambda: url_response_mojom.UrlResponse), 0, 0),
                    ],
                },
            },
            {
                'name': 'FollowRedirect',
                'ordinal': 1,
                'parameters': {},
                'responses': {
                    'fields': [
                        _descriptor.SingleFieldGroup(
                            'response',
                            _descriptor.StructType(
                                lambda: url_response_mojom.UrlResponse), 0, 0),
                    ],
                },
            },
            {
                'name': 'QueryStatus',
                'ordinal': 2,
                'parameters': {},
                'responses': {
                    'fields': [
                        _descriptor.SingleFieldGroup(
                            'status',
                            _descriptor.StructType(lambda: UrlLoaderStatus), 0,
                            0),
                    ],
                },
            },
        ],
    }
Example #14
0
class TileQuadState(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('tex_coord_rect', _descriptor.StructType(lambda: geometry_mojom.RectF), 0, 0),
      _descriptor.SingleFieldGroup('texture_size', _descriptor.StructType(lambda: geometry_mojom.Size), 1, 0),
      _descriptor.BooleanGroup([_descriptor.FieldDescriptor('swizzle_contents', _descriptor.TYPE_BOOL, 2, 0), _descriptor.FieldDescriptor('nearest_neighbor', _descriptor.TYPE_BOOL, 4, 0)]),
      _descriptor.SingleFieldGroup('resource_id', _descriptor.TYPE_UINT32, 3, 0),
    ],
  }
Example #15
0
class Value(object):
  __metaclass__ = _reflection.MojoUnionType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('literal_value', _descriptor.UnionType(lambda: LiteralValue), 0, 0),
      _descriptor.SingleFieldGroup('constant_reference', _descriptor.StructType(lambda: ConstantReference), 1, 0),
      _descriptor.SingleFieldGroup('enum_value_reference', _descriptor.StructType(lambda: EnumValueReference), 2, 0),
      _descriptor.SingleFieldGroup('builtin_value', _descriptor.TYPE_INT32, 3, 0),
    ],
   }
Example #16
0
class UserDefinedType(object):
  __metaclass__ = _reflection.MojoUnionType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('enum_type', _descriptor.StructType(lambda: MojomEnum), 0, 0),
      _descriptor.SingleFieldGroup('struct_type', _descriptor.StructType(lambda: MojomStruct), 1, 0),
      _descriptor.SingleFieldGroup('union_type', _descriptor.StructType(lambda: MojomUnion), 2, 0),
      _descriptor.SingleFieldGroup('interface_type', _descriptor.StructType(lambda: MojomInterface), 3, 0),
    ],
   }
Example #17
0
class RenderPassQuadState(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('render_pass_id', _descriptor.StructType(lambda: RenderPassId), 0, 0),
      _descriptor.SingleFieldGroup('mask_resource_id', _descriptor.TYPE_UINT32, 1, 0),
      _descriptor.SingleFieldGroup('mask_uv_scale', _descriptor.StructType(lambda: geometry_mojom.PointF), 2, 0),
      _descriptor.SingleFieldGroup('mask_texture_size', _descriptor.StructType(lambda: geometry_mojom.Size), 3, 0),
      _descriptor.SingleFieldGroup('filters_scale', _descriptor.StructType(lambda: geometry_mojom.PointF), 4, 0),
    ],
  }
Example #18
0
class MojomMethod(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('decl_data', _descriptor.StructType(lambda: DeclarationData, nullable=True), 0, 0),
      _descriptor.SingleFieldGroup('parameters', _descriptor.StructType(lambda: MojomStruct), 1, 0),
      _descriptor.SingleFieldGroup('response_params', _descriptor.StructType(lambda: MojomStruct, nullable=True), 2, 0),
      _descriptor.SingleFieldGroup('ordinal', _descriptor.TYPE_UINT32, 3, 0),
      _descriptor.SingleFieldGroup('min_version', _descriptor.TYPE_UINT32, 4, 0),
    ],
  }
Example #19
0
class Bounds(object):
    __metaclass__ = _reflection.MojoStructType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup(
                'northeast',
                _descriptor.StructType(lambda: location_mojom.Location), 0, 0),
            _descriptor.SingleFieldGroup(
                'southwest',
                _descriptor.StructType(lambda: location_mojom.Location), 1, 0),
        ],
    }
Example #20
0
class Intent(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('action', _descriptor.TYPE_STRING, 0, 0),
      _descriptor.SingleFieldGroup('url', _descriptor.TYPE_STRING, 1, 0),
      _descriptor.SingleFieldGroup('flags', _descriptor.TYPE_UINT32, 2, 0),
      _descriptor.SingleFieldGroup('component', _descriptor.StructType(lambda: ComponentName, nullable=True), 3, 0),
      _descriptor.SingleFieldGroup('string_extras', _descriptor.GenericArrayType(_descriptor.StructType(lambda: StringExtra), nullable=True), 4, 0),
      _descriptor.SingleFieldGroup('type', _descriptor.TYPE_NULLABLE_STRING, 5, 0),
    ],
  }
Example #21
0
class Type(object):
  __metaclass__ = _reflection.MojoUnionType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('simple_type', _descriptor.TYPE_INT32, 0, 0),
      _descriptor.SingleFieldGroup('string_type', _descriptor.StructType(lambda: StringType), 1, 0),
      _descriptor.SingleFieldGroup('array_type', _descriptor.StructType(lambda: ArrayType), 2, 0),
      _descriptor.SingleFieldGroup('map_type', _descriptor.StructType(lambda: MapType), 3, 0),
      _descriptor.SingleFieldGroup('handle_type', _descriptor.StructType(lambda: HandleType), 4, 0),
      _descriptor.SingleFieldGroup('type_reference', _descriptor.StructType(lambda: TypeReference), 5, 0),
    ],
   }
Example #22
0
class TextureQuadState(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('resource_id', _descriptor.TYPE_UINT32, 0, 0),
      _descriptor.BooleanGroup([_descriptor.FieldDescriptor('premultiplied_alpha', _descriptor.TYPE_BOOL, 1, 0), _descriptor.FieldDescriptor('flipped', _descriptor.TYPE_BOOL, 6, 0), _descriptor.FieldDescriptor('nearest_neighbor', _descriptor.TYPE_BOOL, 7, 0)]),
      _descriptor.SingleFieldGroup('uv_top_left', _descriptor.StructType(lambda: geometry_mojom.PointF), 2, 0),
      _descriptor.SingleFieldGroup('uv_bottom_right', _descriptor.StructType(lambda: geometry_mojom.PointF), 3, 0),
      _descriptor.SingleFieldGroup('background_color', _descriptor.StructType(lambda: Color), 4, 0),
      _descriptor.SingleFieldGroup('vertex_opacity', _descriptor.NativeArrayType('f', length=4), 5, 0),
    ],
  }
Example #23
0
class EchoArgsList(object):
    __metaclass__ = _reflection.MojoStructType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup(
                'next',
                _descriptor.StructType(lambda: EchoArgsList, nullable=True), 0,
                0),
            _descriptor.SingleFieldGroup(
                'item', _descriptor.StructType(lambda: EchoArgs,
                                               nullable=True), 1, 0),
        ],
    }
class TryNonNullStruct(object):
    __metaclass__ = _reflection.MojoStructType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup(
                'nullable',
                _descriptor.StructType(lambda: DummyStruct, nullable=True), 0,
                0),
            _descriptor.SingleFieldGroup(
                'non_nullable', _descriptor.StructType(lambda: DummyStruct), 1,
                0),
        ],
    }
Example #25
0
class Pass(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('id', _descriptor.TYPE_INT32, 0, 0),
      _descriptor.BooleanGroup([_descriptor.FieldDescriptor('has_transparent_background', _descriptor.TYPE_BOOL, 4, 0)]),
      _descriptor.SingleFieldGroup('output_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 1, 0),
      _descriptor.SingleFieldGroup('damage_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 2, 0),
      _descriptor.SingleFieldGroup('transform_to_root_target', _descriptor.StructType(lambda: geometry_mojom.Transform), 3, 0),
      _descriptor.SingleFieldGroup('quads', _descriptor.GenericArrayType(_descriptor.StructType(lambda: Quad)), 5, 0),
      _descriptor.SingleFieldGroup('shared_quad_states', _descriptor.GenericArrayType(_descriptor.StructType(lambda: SharedQuadState)), 6, 0),
    ],
  }
Example #26
0
class DeclarationData(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('attributes', _descriptor.GenericArrayType(_descriptor.StructType(lambda: Attribute), nullable=True), 0, 0),
      _descriptor.SingleFieldGroup('short_name', _descriptor.TYPE_NULLABLE_STRING, 1, 0),
      _descriptor.SingleFieldGroup('full_identifier', _descriptor.TYPE_NULLABLE_STRING, 2, 0),
      _descriptor.SingleFieldGroup('declared_ordinal', _descriptor.TYPE_INT32, 3, 0, default_value=-1),
      _descriptor.SingleFieldGroup('declaration_order', _descriptor.TYPE_INT32, 4, 0, default_value=-1),
      _descriptor.SingleFieldGroup('source_file_info', _descriptor.StructType(lambda: SourceFileInfo, nullable=True), 5, 0),
      _descriptor.SingleFieldGroup('contained_declarations', _descriptor.StructType(lambda: ContainedDeclarations, nullable=True), 6, 0),
      _descriptor.SingleFieldGroup('container_type_key', _descriptor.TYPE_NULLABLE_STRING, 7, 0),
    ],
  }
Example #27
0
class SharedQuadState(object):
  __metaclass__ = _reflection.MojoStructType
  DESCRIPTOR = {
    'fields': [
      _descriptor.SingleFieldGroup('content_to_target_transform', _descriptor.StructType(lambda: geometry_mojom.Transform), 0, 0),
      _descriptor.SingleFieldGroup('content_bounds', _descriptor.StructType(lambda: geometry_mojom.Size), 1, 0),
      _descriptor.SingleFieldGroup('visible_content_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 2, 0),
      _descriptor.SingleFieldGroup('clip_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 3, 0),
      _descriptor.BooleanGroup([_descriptor.FieldDescriptor('is_clipped', _descriptor.TYPE_BOOL, 4, 0)]),
      _descriptor.SingleFieldGroup('opacity', _descriptor.TYPE_FLOAT, 5, 0),
      _descriptor.SingleFieldGroup('blend_mode', _descriptor.TYPE_INT32, 6, 0),
      _descriptor.SingleFieldGroup('sorting_context_id', _descriptor.TYPE_INT32, 7, 0),
    ],
  }
Example #28
0
class RectPair(object):
    __metaclass__ = _reflection.MojoStructType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup(
                'first',
                _descriptor.StructType(lambda: rect_mojom.Rect, nullable=True),
                0, 0),
            _descriptor.SingleFieldGroup(
                'second',
                _descriptor.StructType(lambda: rect_mojom.Rect, nullable=True),
                1, 0),
        ],
    }
Example #29
0
class FileInformation(object):
    __metaclass__ = _reflection.MojoStructType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup('type', _descriptor.TYPE_INT32, 0, 0),
            _descriptor.SingleFieldGroup('size', _descriptor.TYPE_INT64, 1, 0),
            _descriptor.SingleFieldGroup(
                'atime', _descriptor.StructType(lambda: Timespec,
                                                nullable=True), 2, 0),
            _descriptor.SingleFieldGroup(
                'mtime', _descriptor.StructType(lambda: Timespec,
                                                nullable=True), 3, 0),
        ],
    }
class UrlLoaderInterceptorResponse(object):
    __metaclass__ = _reflection.MojoStructType
    DESCRIPTOR = {
        'fields': [
            _descriptor.SingleFieldGroup(
                'request',
                _descriptor.StructType(lambda: url_request_mojom.UrlRequest,
                                       nullable=True), 0, 0),
            _descriptor.SingleFieldGroup(
                'response',
                _descriptor.StructType(lambda: url_response_mojom.UrlResponse,
                                       nullable=True), 1, 0),
        ],
    }