// chrome/browser/glic/host/glic_internals.mojom-webui.ts is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { mojo } from '//resources/mojo/mojo/public/js/bindings.js';
import { ActuationTargetSpec as glic_mojom_ActuationTargetSpec, FormFactorSpec as glic_mojom_FormFactorSpec, FreOverrideSpec as glic_mojom_FreOverrideSpec, FreOverride as glic_mojom_FreOverride, InvocationSourceSpec as glic_mojom_InvocationSourceSpec, PlatformSpec as glic_mojom_PlatformSpec, AdditionalContextSpec as glic_mojom_AdditionalContextSpec, ConfigInfoSpec as glic_mojom_ConfigInfoSpec, ProfileEnablementSpec as glic_mojom_ProfileEnablementSpec, ZssConfigSpec as glic_mojom_ZssConfigSpec, InvocationPayloadSpec as glic_mojom_InvocationPayloadSpec, InvokeConversationSelectionSpec as glic_mojom_InvokeConversationSelectionSpec, InvokeTargetSurfaceSpec as glic_mojom_InvokeTargetSurfaceSpec } from './glic.mojom-webui.js';
import { FeatureModeSpec as glic_mojom_FeatureModeSpec } from './glic_enums.mojom-webui.js';
import { TimeDeltaSpec as mojoBase_mojom_TimeDeltaSpec } from '//resources/mojo/mojo/public/mojom/base/time.mojom-webui.js';
import { UrlSpec as url_mojom_UrlSpec } from '//resources/mojo/url/mojom/url.mojom-webui.js';
export const FreCompletionWaitModeSpec = { $: mojo.internal.Enum() };
export var FreCompletionWaitMode;
(function (FreCompletionWaitMode) {
    FreCompletionWaitMode[FreCompletionWaitMode["MIN_VALUE"] = 0] = "MIN_VALUE";
    FreCompletionWaitMode[FreCompletionWaitMode["MAX_VALUE"] = 1] = "MAX_VALUE";
    FreCompletionWaitMode[FreCompletionWaitMode["kDefault"] = 0] = "kDefault";
    FreCompletionWaitMode[FreCompletionWaitMode["kNever"] = 1] = "kNever";
})(FreCompletionWaitMode || (FreCompletionWaitMode = {}));
export class InternalsPageHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.InternalsPageHandler', scope);
    }
}
export class InternalsPageHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(InternalsPageHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    getInternalsDataPayload() {
        return this.proxy.sendMessage(1049158411, InternalsPageHandler_GetInternalsDataPayload_ParamsSpec.$, InternalsPageHandler_GetInternalsDataPayload_ResponseParamsSpec.$, [], false);
    }
    setGuestUrlPresets(autopush, staging, preprod, prod) {
        this.proxy.sendMessage(1882522530, InternalsPageHandler_SetGuestUrlPresets_ParamsSpec.$, null, [
            autopush,
            staging,
            preprod,
            prod
        ], false);
    }
    triggerInvokeFromInternalsAction(options) {
        return this.proxy.sendMessage(1145477028, InternalsPageHandler_TriggerInvokeFromInternalsAction_ParamsSpec.$, InternalsPageHandler_TriggerInvokeFromInternalsAction_ResponseParamsSpec.$, [
            options
        ], false);
    }
    setWebContinuityOriginatingHostUrlPreset(webContinuityOriginatingHostUrl) {
        this.proxy.sendMessage(1400536037, InternalsPageHandler_SetWebContinuityOriginatingHostUrlPreset_ParamsSpec.$, null, [
            webContinuityOriginatingHostUrl
        ], false);
    }
    setShowErrorAllowed(allowed) {
        this.proxy.sendMessage(1932196414, InternalsPageHandler_SetShowErrorAllowed_ParamsSpec.$, null, [
            allowed
        ], false);
    }
    showExperimentalOptIn() {
        this.proxy.sendMessage(1029959207, InternalsPageHandler_ShowExperimentalOptIn_ParamsSpec.$, null, [], false);
    }
}
;
/**
 * An object which receives request messages for the InternalsPageHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class InternalsPageHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(InternalsPageHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(1049158411, InternalsPageHandler_GetInternalsDataPayload_ParamsSpec.$, InternalsPageHandler_GetInternalsDataPayload_ResponseParamsSpec.$, impl.getInternalsDataPayload.bind(impl), false);
        this.helper_internal_.registerHandler(1882522530, InternalsPageHandler_SetGuestUrlPresets_ParamsSpec.$, null, impl.setGuestUrlPresets.bind(impl), false);
        this.helper_internal_.registerHandler(1145477028, InternalsPageHandler_TriggerInvokeFromInternalsAction_ParamsSpec.$, InternalsPageHandler_TriggerInvokeFromInternalsAction_ResponseParamsSpec.$, impl.triggerInvokeFromInternalsAction.bind(impl), false);
        this.helper_internal_.registerHandler(1400536037, InternalsPageHandler_SetWebContinuityOriginatingHostUrlPreset_ParamsSpec.$, null, impl.setWebContinuityOriginatingHostUrlPreset.bind(impl), false);
        this.helper_internal_.registerHandler(1932196414, InternalsPageHandler_SetShowErrorAllowed_ParamsSpec.$, null, impl.setShowErrorAllowed.bind(impl), false);
        this.helper_internal_.registerHandler(1029959207, InternalsPageHandler_ShowExperimentalOptIn_ParamsSpec.$, null, impl.showExperimentalOptIn.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class InternalsPageHandler {
    static get $interfaceName() {
        return "glic.mojom.InternalsPageHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new InternalsPageHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the InternalsPageHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class InternalsPageHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    getInternalsDataPayload;
    setGuestUrlPresets;
    triggerInvokeFromInternalsAction;
    setWebContinuityOriginatingHostUrlPreset;
    setShowErrorAllowed;
    showExperimentalOptIn;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(InternalsPageHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.getInternalsDataPayload =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1049158411, InternalsPageHandler_GetInternalsDataPayload_ParamsSpec.$, InternalsPageHandler_GetInternalsDataPayload_ResponseParamsSpec.$, this.getInternalsDataPayload.createReceiverHandler(true /* expectsResponse */), false);
        this.setGuestUrlPresets =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1882522530, InternalsPageHandler_SetGuestUrlPresets_ParamsSpec.$, null, this.setGuestUrlPresets.createReceiverHandler(false /* expectsResponse */), false);
        this.triggerInvokeFromInternalsAction =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1145477028, InternalsPageHandler_TriggerInvokeFromInternalsAction_ParamsSpec.$, InternalsPageHandler_TriggerInvokeFromInternalsAction_ResponseParamsSpec.$, this.triggerInvokeFromInternalsAction.createReceiverHandler(true /* expectsResponse */), false);
        this.setWebContinuityOriginatingHostUrlPreset =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1400536037, InternalsPageHandler_SetWebContinuityOriginatingHostUrlPreset_ParamsSpec.$, null, this.setWebContinuityOriginatingHostUrlPreset.createReceiverHandler(false /* expectsResponse */), false);
        this.setShowErrorAllowed =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1932196414, InternalsPageHandler_SetShowErrorAllowed_ParamsSpec.$, null, this.setShowErrorAllowed.createReceiverHandler(false /* expectsResponse */), false);
        this.showExperimentalOptIn =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1029959207, InternalsPageHandler_ShowExperimentalOptIn_ParamsSpec.$, null, this.showExperimentalOptIn.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class InternalsPageHandlerFactoryPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.InternalsPageHandlerFactory', scope);
    }
}
export class InternalsPageHandlerFactoryRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(InternalsPageHandlerFactoryPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    createInternalsPageHandler(receiver) {
        this.proxy.sendMessage(810001849, InternalsPageHandlerFactory_CreateInternalsPageHandler_ParamsSpec.$, null, [
            receiver
        ], false);
    }
}
;
/**
 * An object which receives request messages for the InternalsPageHandlerFactory
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class InternalsPageHandlerFactoryReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(InternalsPageHandlerFactoryRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(810001849, InternalsPageHandlerFactory_CreateInternalsPageHandler_ParamsSpec.$, null, impl.createInternalsPageHandler.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class InternalsPageHandlerFactory {
    static get $interfaceName() {
        return "glic.mojom.InternalsPageHandlerFactory";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new InternalsPageHandlerFactoryRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the InternalsPageHandlerFactory
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class InternalsPageHandlerFactoryCallbackRouter {
    helper_internal_;
    $;
    router_;
    createInternalsPageHandler;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(InternalsPageHandlerFactoryRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.createInternalsPageHandler =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(810001849, InternalsPageHandlerFactory_CreateInternalsPageHandler_ParamsSpec.$, null, this.createInternalsPageHandler.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export const InternalsDataPayloadSpec = { $: {} };
export const InternalsDebugInfoSpec = { $: {} };
export const TriggerInvokeFromInternalsOptionsSpec = { $: {} };
export const InternalsPageHandler_GetInternalsDataPayload_ParamsSpec = { $: {} };
export const InternalsPageHandler_GetInternalsDataPayload_ResponseParamsSpec = { $: {} };
export const InternalsPageHandler_SetGuestUrlPresets_ParamsSpec = { $: {} };
export const InternalsPageHandler_TriggerInvokeFromInternalsAction_ParamsSpec = { $: {} };
export const InternalsPageHandler_TriggerInvokeFromInternalsAction_ResponseParamsSpec = { $: {} };
export const InternalsPageHandler_SetWebContinuityOriginatingHostUrlPreset_ParamsSpec = { $: {} };
export const InternalsPageHandler_SetShowErrorAllowed_ParamsSpec = { $: {} };
export const InternalsPageHandler_ShowExperimentalOptIn_ParamsSpec = { $: {} };
export const InternalsPageHandlerFactory_CreateInternalsPageHandler_ParamsSpec = { $: {} };
mojo.internal.Struct(InternalsDataPayloadSpec.$, 'InternalsDataPayload', [
    mojo.internal.StructField('enablement', 0, 0, glic_mojom_ProfileEnablementSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('config', 8, 0, glic_mojom_ConfigInfoSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('showErrorAllowed', 16, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('experimentalTriggeringEnabled', 16, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('debugInfo', 24, 0, InternalsDebugInfoSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
mojo.internal.Struct(InternalsDebugInfoSpec.$, 'InternalsDebugInfo', [
    mojo.internal.StructField('glicActorFeatureEnabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('glicRolloutFeatureEnabled', 0, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('glicTieredRolloutFeatureEnabled', 0, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('glicTieredRolloutV2FeatureEnabled', 0, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('platform', 4, 0, glic_mojom_PlatformSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('formFactor', 8, 0, glic_mojom_FormFactorSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('booleanSettings', 16, 0, mojo.internal.Map(mojo.internal.String, mojo.internal.Bool, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('hotkey', 24, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('locale', 32, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('permanentCountryCode', 40, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('sessionCountryCode', 48, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('systemRequirementMet', 0, 4, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('osVersionSupported', 0, 5, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('anchorEntrypointOverrideActive', 0, 6, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('primaryAccountNeedsSignedIn', 0, 7, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 64],]);
mojo.internal.Struct(TriggerInvokeFromInternalsOptionsSpec.$, 'TriggerInvokeFromInternalsOptions', [
    mojo.internal.StructField('invocationSource', 0, 0, glic_mojom_InvocationSourceSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('prompts', 8, 0, mojo.internal.Array(mojo.internal.String, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('additionalContext', 16, 0, glic_mojom_AdditionalContextSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('conversation', 24, 0, glic_mojom_InvokeConversationSelectionSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('feature_mode_$flag', 4, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "feature_mode_$value",
        originalFieldName: "featureMode",
    }, undefined),
    mojo.internal.StructField('feature_mode_$value', 40, 0, glic_mojom_FeatureModeSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "featureMode",
    }, undefined),
    mojo.internal.StructField('disableZss', 4, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('zssConfig', 48, 0, glic_mojom_ZssConfigSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('skillId', 56, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('errorMessage', 64, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('timeout', 72, 0, mojoBase_mojom_TimeDeltaSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('autoSubmit', 4, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('freOverride', 44, 0, glic_mojom_FreOverrideSpec.$, glic_mojom_FreOverride.kUnspecified, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('waitForPanelOpen', 4, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('freCompletionWaitMode', 80, 0, FreCompletionWaitModeSpec.$, FreCompletionWaitMode.kDefault, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('show_panel_$flag', 4, 4, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "show_panel_$value",
        originalFieldName: "showPanel",
    }, undefined),
    mojo.internal.StructField('show_panel_$value', 4, 5, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "showPanel",
    }, undefined),
    mojo.internal.StructField('surface', 88, 0, glic_mojom_InvokeTargetSurfaceSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('actuationTarget', 84, 0, glic_mojom_ActuationTargetSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('payload', 104, 0, glic_mojom_InvocationPayloadSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 128],]);
mojo.internal.Struct(InternalsPageHandler_GetInternalsDataPayload_ParamsSpec.$, 'InternalsPageHandler_GetInternalsDataPayload_Params', [], [[0, 8],]);
mojo.internal.Struct(InternalsPageHandler_GetInternalsDataPayload_ResponseParamsSpec.$, 'InternalsPageHandler_GetInternalsDataPayload_ResponseParams', [
    mojo.internal.StructField('internalsData', 0, 0, InternalsDataPayloadSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(InternalsPageHandler_SetGuestUrlPresets_ParamsSpec.$, 'InternalsPageHandler_SetGuestUrlPresets_Params', [
    mojo.internal.StructField('autopush', 0, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('staging', 8, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('preprod', 16, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('prod', 24, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
mojo.internal.Struct(InternalsPageHandler_TriggerInvokeFromInternalsAction_ParamsSpec.$, 'InternalsPageHandler_TriggerInvokeFromInternalsAction_Params', [
    mojo.internal.StructField('options', 0, 0, TriggerInvokeFromInternalsOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(InternalsPageHandler_TriggerInvokeFromInternalsAction_ResponseParamsSpec.$, 'InternalsPageHandler_TriggerInvokeFromInternalsAction_ResponseParams', [
    mojo.internal.StructField('success', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('errorMessage', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(InternalsPageHandler_SetWebContinuityOriginatingHostUrlPreset_ParamsSpec.$, 'InternalsPageHandler_SetWebContinuityOriginatingHostUrlPreset_Params', [
    mojo.internal.StructField('webContinuityOriginatingHostUrl', 0, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(InternalsPageHandler_SetShowErrorAllowed_ParamsSpec.$, 'InternalsPageHandler_SetShowErrorAllowed_Params', [
    mojo.internal.StructField('allowed', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(InternalsPageHandler_ShowExperimentalOptIn_ParamsSpec.$, 'InternalsPageHandler_ShowExperimentalOptIn_Params', [], [[0, 8],]);
mojo.internal.Struct(InternalsPageHandlerFactory_CreateInternalsPageHandler_ParamsSpec.$, 'InternalsPageHandlerFactory_CreateInternalsPageHandler_Params', [
    mojo.internal.StructField('receiver', 0, 0, mojo.internal.InterfaceRequest(InternalsPageHandlerPendingReceiver), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
