chromium/third_party/blink/renderer/core/inspector/inspector_protocol_config.json

{
    "use_snake_file_names": true,
    "protocol": {
        "path": "../../../public/devtools_protocol/browser_protocol.pdl",
        "package": "third_party/blink/renderer/core/inspector/protocol",
        "output": "inspector/protocol",
        "namespace": ["blink", "protocol"],
        "export_macro": "CORE_EXPORT",
        "export_header": "third_party/blink/renderer/core/core_export.h",
        "options": [
            {
                "domain": "Accessibility",
                "async": ["queryAXTree"]
            },
            {
                "domain": "Animation"
            },
            {
                "domain": "Audits"
            },
            {
                "domain": "CacheStorage",
                "async": ["requestCacheNames", "requestEntries", "deleteCache", "deleteEntry", "requestCachedResponse"]
            },
            {
                "domain": "CSS",
                "async": ["enable", "takeComputedStyleUpdates"]
            },
            {
                "domain": "Database",
                "async": ["executeSQL"]
            },
            {
                "domain": "DeviceOrientation"
            },
            {
                "domain": "DOM"
            },
            {
                "domain": "DOMDebugger"
            },
            {
                "domain": "DOMSnapshot"
            },
            {
                "domain": "DOMStorage"
            },
            {
                "domain": "EventBreakpoints"
            },
            {
                "domain": "Storage"
            },
            {
              "domain": "FileSystem",
              "async": [
                "getDirectory"
              ]
            },
            {
                "domain": "IndexedDB",
                "async": ["requestDatabaseNames", "requestDatabase", "requestData", "getMetadata", "deleteObjectStoreEntries", "clearObjectStore", "deleteDatabase"]
            },
            {
                "domain": "LayerTree"
            },
            {
                "domain": "Log"
            },
            {
                "domain": "Overlay"
            },
            {
                "domain": "IO",
                "include": ["resolveBlob"]
            },
            {
                "domain": "Security",
                "include": []
            },
            {
                "domain": "Memory",
                "include": ["getDOMCounters", "forciblyPurgeJavaScriptMemory", "startSampling", "stopSampling", "getSamplingProfile", "getAllTimeSamplingProfile"]
            },
            {
                "domain": "Page",
                "exclude": ["getNavigationHistory", "navigateToHistoryEntry", "resetNavigationHistory", "captureScreenshot", "screencastFrameAck", "handleJavaScriptDialog", "setColorPickerEnabled",
                            "getAppManifest", "setControlNavigations", "processNavigation", "printToPDF", "bringToFront", "setDownloadBehavior", "navigate", "crash", "close", "setWebLifecycleState", "captureSnapshot", "getInstallabilityErrors", "getManifestIcons", "getAppId", "setSPCTransactionMode", "setRPHRegistrationMode", "setPrerenderingAllowed"],
                "async": ["getResourceContent", "searchInResource", "createIsolatedWorld"],
                "exclude_events": ["screencastFrame", "screencastVisibilityChanged", "colorPicked", "interstitialShown", "interstitialHidden",
                                   "javascriptDialogOpening", "javascriptDialogClosed", "navigationRequested", "frameStartedLoading", "frameStoppedLoading"]
            },
            {
                "domain": "Performance"
            },
            {
                "domain": "PerformanceTimeline"
            },
            {
                "domain": "Preload"
            },
            {
                "domain": "Emulation",
                "include": ["forceViewport", "resetViewport", "resetPageScaleFactor", "setPageScaleFactor", "setScriptExecutionDisabled", "setTouchEmulationEnabled",
                            "setEmulatedMedia", "setEmulatedVisionDeficiency", "setCPUThrottlingRate", "setVirtualTimePolicy", "setTimezoneOverride", "setNavigatorOverrides", "setDefaultBackgroundColorOverride", "setDeviceMetricsOverride", "clearDeviceMetricsOverride",
                            "setHardwareConcurrencyOverride", "setUserAgentOverride", "setScrollbarsHidden", "setDocumentCookieDisabled", "setFocusEmulationEnabled", "setAutoDarkModeOverride", "setLocaleOverride", "setDisabledImageTypes", "setAutomationOverride"],
                "include_events": ["virtualTimeBudgetExpired", "virtualTimeAdvanced", "virtualTimePaused"]
            },
            {
                "domain": "Network",
                "exclude": ["clearBrowserCache", "clearBrowserCookies", "getCookies", "getAllCookies", "deleteCookies", "setCookie", "setCookies", "canEmulateNetworkConditions",
                            "setRequestInterception", "continueInterceptedRequest", "getResponseBodyForInterception",
                            "takeResponseBodyForInterceptionAsStream", "getSecurityIsolationStatus", "loadNetworkResource", "enableReportingApi"],
                "async": ["getResponseBody", "getRequestPostData"]
            },
            {
                "domain": "WebAudio"
            },
            {
                "domain": "Media"
            }
        ]
    },

    "imported": {
        "header": "<v8-inspector-protocol.h>",
        "to_imported_string": "ToV8InspectorStringView(%s)",
        "from_imported_string": "ToCoreString(%s)",
        "namespace": ["v8_inspector", "protocol"],
        "options": [
            {
                "domain": "Runtime",
                "imported": ["RemoteObject", "StackTrace"]
            },
            {
                "domain": "Debugger",
                "imported": ["SearchMatch"]
            }
        ]
    },

    "lib": {
        "package": "third_party/blink/renderer/core/inspector/protocol",
        "output": "inspector/protocol",
        "string_header": "third_party/blink/renderer/core/inspector/v8_inspector_string.h",
        "export_macro": "CORE_EXPORT",
        "export_header": "third_party/blink/renderer/core/core_export.h"
    },

    "crdtp": {
        "namespace": "crdtp"
    }
}