Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- out/Debug/gen/blink/InspectorBackendDispatcher.cpp 2013-10-28 11:36:58.299171441 -0400
- +++ out/Debug/gen/blink/InspectorBackendDispatcher.cpp.bak 2013-10-28 11:36:40.111170914 -0400
- @@ -17,242 +17,477 @@
- namespace WebCore {
- -const char* InspectorBackendDispatcher::commandNames[] = {
- - "Inspector.enable",
- - "Inspector.disable",
- - "Inspector.reset",
- - "Memory.getDOMCounters",
- - "Page.enable",
- - "Page.disable",
- - "Page.addScriptToEvaluateOnLoad",
- - "Page.removeScriptToEvaluateOnLoad",
- - "Page.reload",
- - "Page.navigate",
- - "Page.getNavigationHistory",
- - "Page.navigateToHistoryEntry",
- - "Page.getCookies",
- - "Page.deleteCookie",
- - "Page.getResourceTree",
- - "Page.getResourceContent",
- - "Page.searchInResource",
- - "Page.setDocumentContent",
- - "Page.setDeviceMetricsOverride",
- - "Page.setShowPaintRects",
- - "Page.setShowDebugBorders",
- - "Page.setShowFPSCounter",
- - "Page.setContinuousPaintingEnabled",
- - "Page.setShowScrollBottleneckRects",
- - "Page.getScriptExecutionStatus",
- - "Page.setScriptExecutionDisabled",
- - "Page.setGeolocationOverride",
- - "Page.clearGeolocationOverride",
- - "Page.setDeviceOrientationOverride",
- - "Page.clearDeviceOrientationOverride",
- - "Page.setTouchEmulationEnabled",
- - "Page.setEmulatedMedia",
- - "Page.captureScreenshot",
- - "Page.canScreencast",
- - "Page.startScreencast",
- - "Page.stopScreencast",
- - "Page.handleJavaScriptDialog",
- - "Page.setShowViewportSizeOnResize",
- - "Page.setForceCompositingMode",
- - "Runtime.evaluate",
- - "Runtime.callFunctionOn",
- - "Runtime.getProperties",
- - "Runtime.releaseObject",
- - "Runtime.releaseObjectGroup",
- - "Runtime.run",
- - "Runtime.enable",
- - "Runtime.disable",
- - "Console.enable",
- - "Console.disable",
- - "Console.clearMessages",
- - "Console.setMonitoringXHREnabled",
- - "Console.addInspectedNode",
- - "Console.addInspectedHeapObject",
- - "Network.enable",
- - "Network.disable",
- - "Network.setUserAgentOverride",
- - "Network.setExtraHTTPHeaders",
- - "Network.getResponseBody",
- - "Network.replayXHR",
- - "Network.canClearBrowserCache",
- - "Network.clearBrowserCache",
- - "Network.canClearBrowserCookies",
- - "Network.clearBrowserCookies",
- - "Network.setCacheDisabled",
- - "Network.loadResourceForFrontend",
- - "Database.enable",
- - "Database.disable",
- - "Database.getDatabaseTableNames",
- - "Database.executeSQL",
- - "IndexedDB.enable",
- - "IndexedDB.disable",
- - "IndexedDB.requestDatabaseNames",
- - "IndexedDB.requestDatabase",
- - "IndexedDB.requestData",
- - "IndexedDB.clearObjectStore",
- - "DOMStorage.enable",
- - "DOMStorage.disable",
- - "DOMStorage.getDOMStorageItems",
- - "DOMStorage.setDOMStorageItem",
- - "DOMStorage.removeDOMStorageItem",
- - "ApplicationCache.getFramesWithManifests",
- - "ApplicationCache.enable",
- - "ApplicationCache.getManifestForFrame",
- - "ApplicationCache.getApplicationCacheForFrame",
- - "FileSystem.enable",
- - "FileSystem.disable",
- - "FileSystem.requestFileSystemRoot",
- - "FileSystem.requestDirectoryContent",
- - "FileSystem.requestMetadata",
- - "FileSystem.requestFileContent",
- - "FileSystem.deleteEntry",
- - "DOM.getDocument",
- - "DOM.requestChildNodes",
- - "DOM.querySelector",
- - "DOM.querySelectorAll",
- - "DOM.setNodeName",
- - "DOM.setNodeValue",
- - "DOM.removeNode",
- - "DOM.setAttributeValue",
- - "DOM.setAttributesAsText",
- - "DOM.removeAttribute",
- - "DOM.getEventListenersForNode",
- - "DOM.getOuterHTML",
- - "DOM.setOuterHTML",
- - "DOM.performSearch",
- - "DOM.getSearchResults",
- - "DOM.discardSearchResults",
- - "DOM.requestNode",
- - "DOM.setInspectModeEnabled",
- - "DOM.highlightRect",
- - "DOM.highlightQuad",
- - "DOM.highlightNode",
- - "DOM.hideHighlight",
- - "DOM.highlightFrame",
- - "DOM.pushNodeByPathToFrontend",
- - "DOM.pushNodeByBackendIdToFrontend",
- - "DOM.releaseBackendNodeIds",
- - "DOM.resolveNode",
- - "DOM.getAttributes",
- - "DOM.moveTo",
- - "DOM.undo",
- - "DOM.redo",
- - "DOM.markUndoableState",
- - "DOM.focus",
- - "DOM.setFileInputFiles",
- - "DOM.getBoxModel",
- - "DOM.getNodeForLocation",
- - "DOM.getRelayoutBoundary",
- - "CSS.enable",
- - "CSS.disable",
- - "CSS.getMatchedStylesForNode",
- - "CSS.getInlineStylesForNode",
- - "CSS.getComputedStyleForNode",
- - "CSS.getPlatformFontsForNode",
- - "CSS.getAllStyleSheets",
- - "CSS.getStyleSheet",
- - "CSS.getStyleSheetText",
- - "CSS.setStyleSheetText",
- - "CSS.setStyleText",
- - "CSS.setPropertyText",
- - "CSS.toggleProperty",
- - "CSS.setRuleSelector",
- - "CSS.addRule",
- - "CSS.getSupportedCSSProperties",
- - "CSS.forcePseudoState",
- - "CSS.getNamedFlowCollection",
- - "Timeline.enable",
- - "Timeline.disable",
- - "Timeline.start",
- - "Timeline.stop",
- - "Debugger.enable",
- - "Debugger.disable",
- - "Debugger.setBreakpointsActive",
- - "Debugger.setSkipAllPauses",
- - "Debugger.setBreakpointByUrl",
- - "Debugger.setBreakpoint",
- - "Debugger.removeBreakpoint",
- - "Debugger.continueToLocation",
- - "Debugger.stepOver",
- - "Debugger.stepInto",
- - "Debugger.stepOut",
- - "Debugger.pause",
- - "Debugger.resume",
- - "Debugger.searchInContent",
- - "Debugger.canSetScriptSource",
- - "Debugger.setScriptSource",
- - "Debugger.restartFrame",
- - "Debugger.getScriptSource",
- - "Debugger.getFunctionDetails",
- - "Debugger.setPauseOnExceptions",
- - "Debugger.evaluateOnCallFrame",
- - "Debugger.compileScript",
- - "Debugger.runScript",
- - "Debugger.setOverlayMessage",
- - "Debugger.setVariableValue",
- - "Debugger.getStepInPositions",
- - "Debugger.getBacktrace",
- - "Debugger.skipStackFrames",
- - "DOMDebugger.setDOMBreakpoint",
- - "DOMDebugger.removeDOMBreakpoint",
- - "DOMDebugger.setEventListenerBreakpoint",
- - "DOMDebugger.removeEventListenerBreakpoint",
- - "DOMDebugger.setInstrumentationBreakpoint",
- - "DOMDebugger.removeInstrumentationBreakpoint",
- - "DOMDebugger.setXHRBreakpoint",
- - "DOMDebugger.removeXHRBreakpoint",
- - "Profiler.enable",
- - "Profiler.disable",
- - "Profiler.setSamplingInterval",
- - "Profiler.start",
- - "Profiler.stop",
- - "Profiler.getCPUProfile",
- - "Profiler.removeProfile",
- - "Profiler.clearProfiles",
- - "HeapProfiler.enable",
- - "HeapProfiler.disable",
- - "HeapProfiler.startTrackingHeapObjects",
- - "HeapProfiler.stopTrackingHeapObjects",
- - "HeapProfiler.getHeapSnapshot",
- - "HeapProfiler.removeProfile",
- - "HeapProfiler.clearProfiles",
- - "HeapProfiler.takeHeapSnapshot",
- - "HeapProfiler.collectGarbage",
- - "HeapProfiler.getObjectByHeapObjectId",
- - "HeapProfiler.getHeapObjectId",
- - "Worker.enable",
- - "Worker.disable",
- - "Worker.sendMessageToWorker",
- - "Worker.canInspectWorkers",
- - "Worker.connectToWorker",
- - "Worker.disconnectFromWorker",
- - "Worker.setAutoconnectToWorkers",
- - "Canvas.enable",
- - "Canvas.disable",
- - "Canvas.dropTraceLog",
- - "Canvas.hasUninstrumentedCanvases",
- - "Canvas.captureFrame",
- - "Canvas.startCapturing",
- - "Canvas.stopCapturing",
- - "Canvas.getTraceLog",
- - "Canvas.replayTraceLog",
- - "Canvas.getResourceState",
- - "Canvas.evaluateTraceLogCallArgument",
- - "Input.dispatchKeyEvent",
- - "Input.dispatchMouseEvent",
- - "Input.dispatchTouchEvent",
- - "Input.dispatchGestureEvent",
- - "LayerTree.enable",
- - "LayerTree.disable",
- - "LayerTree.getLayers",
- - "LayerTree.compositingReasons",
- - "Tracing.start",
- - "Tracing.end",
- +const char InspectorBackendDispatcher::commandNames[] = {
- + "Inspector.enable\0"
- + "Inspector.disable\0"
- + "Inspector.reset\0"
- + "Memory.getDOMCounters\0"
- + "Page.enable\0"
- + "Page.disable\0"
- + "Page.addScriptToEvaluateOnLoad\0"
- + "Page.removeScriptToEvaluateOnLoad\0"
- + "Page.reload\0"
- + "Page.navigate\0"
- + "Page.getNavigationHistory\0"
- + "Page.navigateToHistoryEntry\0"
- + "Page.getCookies\0"
- + "Page.deleteCookie\0"
- + "Page.getResourceTree\0"
- + "Page.getResourceContent\0"
- + "Page.searchInResource\0"
- + "Page.setDocumentContent\0"
- + "Page.setDeviceMetricsOverride\0"
- + "Page.setShowPaintRects\0"
- + "Page.setShowDebugBorders\0"
- + "Page.setShowFPSCounter\0"
- + "Page.setContinuousPaintingEnabled\0"
- + "Page.setShowScrollBottleneckRects\0"
- + "Page.getScriptExecutionStatus\0"
- + "Page.setScriptExecutionDisabled\0"
- + "Page.setGeolocationOverride\0"
- + "Page.clearGeolocationOverride\0"
- + "Page.setDeviceOrientationOverride\0"
- + "Page.clearDeviceOrientationOverride\0"
- + "Page.setTouchEmulationEnabled\0"
- + "Page.setEmulatedMedia\0"
- + "Page.captureScreenshot\0"
- + "Page.canScreencast\0"
- + "Page.startScreencast\0"
- + "Page.stopScreencast\0"
- + "Page.handleJavaScriptDialog\0"
- + "Page.setShowViewportSizeOnResize\0"
- + "Page.setForceCompositingMode\0"
- + "Runtime.evaluate\0"
- + "Runtime.callFunctionOn\0"
- + "Runtime.getProperties\0"
- + "Runtime.releaseObject\0"
- + "Runtime.releaseObjectGroup\0"
- + "Runtime.run\0"
- + "Runtime.enable\0"
- + "Runtime.disable\0"
- + "Console.enable\0"
- + "Console.disable\0"
- + "Console.clearMessages\0"
- + "Console.setMonitoringXHREnabled\0"
- + "Console.addInspectedNode\0"
- + "Console.addInspectedHeapObject\0"
- + "Network.enable\0"
- + "Network.disable\0"
- + "Network.setUserAgentOverride\0"
- + "Network.setExtraHTTPHeaders\0"
- + "Network.getResponseBody\0"
- + "Network.replayXHR\0"
- + "Network.canClearBrowserCache\0"
- + "Network.clearBrowserCache\0"
- + "Network.canClearBrowserCookies\0"
- + "Network.clearBrowserCookies\0"
- + "Network.setCacheDisabled\0"
- + "Network.loadResourceForFrontend\0"
- + "Database.enable\0"
- + "Database.disable\0"
- + "Database.getDatabaseTableNames\0"
- + "Database.executeSQL\0"
- + "IndexedDB.enable\0"
- + "IndexedDB.disable\0"
- + "IndexedDB.requestDatabaseNames\0"
- + "IndexedDB.requestDatabase\0"
- + "IndexedDB.requestData\0"
- + "IndexedDB.clearObjectStore\0"
- + "DOMStorage.enable\0"
- + "DOMStorage.disable\0"
- + "DOMStorage.getDOMStorageItems\0"
- + "DOMStorage.setDOMStorageItem\0"
- + "DOMStorage.removeDOMStorageItem\0"
- + "ApplicationCache.getFramesWithManifests\0"
- + "ApplicationCache.enable\0"
- + "ApplicationCache.getManifestForFrame\0"
- + "ApplicationCache.getApplicationCacheForFrame\0"
- + "FileSystem.enable\0"
- + "FileSystem.disable\0"
- + "FileSystem.requestFileSystemRoot\0"
- + "FileSystem.requestDirectoryContent\0"
- + "FileSystem.requestMetadata\0"
- + "FileSystem.requestFileContent\0"
- + "FileSystem.deleteEntry\0"
- + "DOM.getDocument\0"
- + "DOM.requestChildNodes\0"
- + "DOM.querySelector\0"
- + "DOM.querySelectorAll\0"
- + "DOM.setNodeName\0"
- + "DOM.setNodeValue\0"
- + "DOM.removeNode\0"
- + "DOM.setAttributeValue\0"
- + "DOM.setAttributesAsText\0"
- + "DOM.removeAttribute\0"
- + "DOM.getEventListenersForNode\0"
- + "DOM.getOuterHTML\0"
- + "DOM.setOuterHTML\0"
- + "DOM.performSearch\0"
- + "DOM.getSearchResults\0"
- + "DOM.discardSearchResults\0"
- + "DOM.requestNode\0"
- + "DOM.setInspectModeEnabled\0"
- + "DOM.highlightRect\0"
- + "DOM.highlightQuad\0"
- + "DOM.highlightNode\0"
- + "DOM.hideHighlight\0"
- + "DOM.highlightFrame\0"
- + "DOM.pushNodeByPathToFrontend\0"
- + "DOM.pushNodeByBackendIdToFrontend\0"
- + "DOM.releaseBackendNodeIds\0"
- + "DOM.resolveNode\0"
- + "DOM.getAttributes\0"
- + "DOM.moveTo\0"
- + "DOM.undo\0"
- + "DOM.redo\0"
- + "DOM.markUndoableState\0"
- + "DOM.focus\0"
- + "DOM.setFileInputFiles\0"
- + "DOM.getBoxModel\0"
- + "DOM.getNodeForLocation\0"
- + "DOM.getRelayoutBoundary\0"
- + "CSS.enable\0"
- + "CSS.disable\0"
- + "CSS.getMatchedStylesForNode\0"
- + "CSS.getInlineStylesForNode\0"
- + "CSS.getComputedStyleForNode\0"
- + "CSS.getPlatformFontsForNode\0"
- + "CSS.getAllStyleSheets\0"
- + "CSS.getStyleSheet\0"
- + "CSS.getStyleSheetText\0"
- + "CSS.setStyleSheetText\0"
- + "CSS.setStyleText\0"
- + "CSS.setPropertyText\0"
- + "CSS.toggleProperty\0"
- + "CSS.setRuleSelector\0"
- + "CSS.addRule\0"
- + "CSS.getSupportedCSSProperties\0"
- + "CSS.forcePseudoState\0"
- + "CSS.getNamedFlowCollection\0"
- + "Timeline.enable\0"
- + "Timeline.disable\0"
- + "Timeline.start\0"
- + "Timeline.stop\0"
- + "Debugger.enable\0"
- + "Debugger.disable\0"
- + "Debugger.setBreakpointsActive\0"
- + "Debugger.setSkipAllPauses\0"
- + "Debugger.setBreakpointByUrl\0"
- + "Debugger.setBreakpoint\0"
- + "Debugger.removeBreakpoint\0"
- + "Debugger.continueToLocation\0"
- + "Debugger.stepOver\0"
- + "Debugger.stepInto\0"
- + "Debugger.stepOut\0"
- + "Debugger.pause\0"
- + "Debugger.resume\0"
- + "Debugger.searchInContent\0"
- + "Debugger.canSetScriptSource\0"
- + "Debugger.setScriptSource\0"
- + "Debugger.restartFrame\0"
- + "Debugger.getScriptSource\0"
- + "Debugger.getFunctionDetails\0"
- + "Debugger.setPauseOnExceptions\0"
- + "Debugger.evaluateOnCallFrame\0"
- + "Debugger.compileScript\0"
- + "Debugger.runScript\0"
- + "Debugger.setOverlayMessage\0"
- + "Debugger.setVariableValue\0"
- + "Debugger.getStepInPositions\0"
- + "Debugger.getBacktrace\0"
- + "Debugger.skipStackFrames\0"
- + "DOMDebugger.setDOMBreakpoint\0"
- + "DOMDebugger.removeDOMBreakpoint\0"
- + "DOMDebugger.setEventListenerBreakpoint\0"
- + "DOMDebugger.removeEventListenerBreakpoint\0"
- + "DOMDebugger.setInstrumentationBreakpoint\0"
- + "DOMDebugger.removeInstrumentationBreakpoint\0"
- + "DOMDebugger.setXHRBreakpoint\0"
- + "DOMDebugger.removeXHRBreakpoint\0"
- + "Profiler.enable\0"
- + "Profiler.disable\0"
- + "Profiler.setSamplingInterval\0"
- + "Profiler.start\0"
- + "Profiler.stop\0"
- + "Profiler.getCPUProfile\0"
- + "Profiler.removeProfile\0"
- + "Profiler.clearProfiles\0"
- + "HeapProfiler.enable\0"
- + "HeapProfiler.disable\0"
- + "HeapProfiler.startTrackingHeapObjects\0"
- + "HeapProfiler.stopTrackingHeapObjects\0"
- + "HeapProfiler.getHeapSnapshot\0"
- + "HeapProfiler.removeProfile\0"
- + "HeapProfiler.clearProfiles\0"
- + "HeapProfiler.takeHeapSnapshot\0"
- + "HeapProfiler.collectGarbage\0"
- + "HeapProfiler.getObjectByHeapObjectId\0"
- + "HeapProfiler.getHeapObjectId\0"
- + "Worker.enable\0"
- + "Worker.disable\0"
- + "Worker.sendMessageToWorker\0"
- + "Worker.canInspectWorkers\0"
- + "Worker.connectToWorker\0"
- + "Worker.disconnectFromWorker\0"
- + "Worker.setAutoconnectToWorkers\0"
- + "Canvas.enable\0"
- + "Canvas.disable\0"
- + "Canvas.dropTraceLog\0"
- + "Canvas.hasUninstrumentedCanvases\0"
- + "Canvas.captureFrame\0"
- + "Canvas.startCapturing\0"
- + "Canvas.stopCapturing\0"
- + "Canvas.getTraceLog\0"
- + "Canvas.replayTraceLog\0"
- + "Canvas.getResourceState\0"
- + "Canvas.evaluateTraceLogCallArgument\0"
- + "Input.dispatchKeyEvent\0"
- + "Input.dispatchMouseEvent\0"
- + "Input.dispatchTouchEvent\0"
- + "Input.dispatchGestureEvent\0"
- + "LayerTree.enable\0"
- + "LayerTree.disable\0"
- + "LayerTree.getLayers\0"
- + "LayerTree.compositingReasons\0"
- + "Tracing.start\0"
- + "Tracing.end\0"
- };
- +const size_t InspectorBackendDispatcher::commandNamesIndex[] = {
- + 0,
- + 17,
- + 35,
- + 51,
- + 73,
- + 85,
- + 98,
- + 129,
- + 163,
- + 175,
- + 189,
- + 215,
- + 243,
- + 259,
- + 277,
- + 298,
- + 322,
- + 344,
- + 368,
- + 398,
- + 421,
- + 446,
- + 469,
- + 503,
- + 537,
- + 567,
- + 599,
- + 627,
- + 657,
- + 691,
- + 727,
- + 757,
- + 779,
- + 802,
- + 821,
- + 842,
- + 862,
- + 890,
- + 923,
- + 952,
- + 969,
- + 992,
- + 1014,
- + 1036,
- + 1063,
- + 1075,
- + 1090,
- + 1106,
- + 1121,
- + 1137,
- + 1159,
- + 1191,
- + 1216,
- + 1247,
- + 1262,
- + 1278,
- + 1307,
- + 1335,
- + 1359,
- + 1377,
- + 1406,
- + 1432,
- + 1463,
- + 1491,
- + 1516,
- + 1548,
- + 1564,
- + 1581,
- + 1612,
- + 1632,
- + 1649,
- + 1667,
- + 1698,
- + 1724,
- + 1746,
- + 1773,
- + 1791,
- + 1810,
- + 1840,
- + 1869,
- + 1901,
- + 1941,
- + 1965,
- + 2002,
- + 2047,
- + 2065,
- + 2084,
- + 2117,
- + 2152,
- + 2179,
- + 2209,
- + 2232,
- + 2248,
- + 2270,
- + 2288,
- + 2309,
- + 2325,
- + 2342,
- + 2357,
- + 2379,
- + 2403,
- + 2423,
- + 2452,
- + 2469,
- + 2486,
- + 2504,
- + 2525,
- + 2550,
- + 2566,
- + 2592,
- + 2610,
- + 2628,
- + 2646,
- + 2664,
- + 2683,
- + 2712,
- + 2746,
- + 2772,
- + 2788,
- + 2806,
- + 2817,
- + 2826,
- + 2835,
- + 2857,
- + 2867,
- + 2889,
- + 2905,
- + 2928,
- + 2952,
- + 2963,
- + 2975,
- + 3003,
- + 3030,
- + 3058,
- + 3086,
- + 3108,
- + 3126,
- + 3148,
- + 3170,
- + 3187,
- + 3207,
- + 3226,
- + 3246,
- + 3258,
- + 3288,
- + 3309,
- + 3336,
- + 3352,
- + 3369,
- + 3384,
- + 3398,
- + 3414,
- + 3431,
- + 3461,
- + 3487,
- + 3515,
- + 3538,
- + 3564,
- + 3592,
- + 3610,
- + 3628,
- + 3645,
- + 3660,
- + 3676,
- + 3701,
- + 3729,
- + 3754,
- + 3776,
- + 3801,
- + 3829,
- + 3859,
- + 3888,
- + 3911,
- + 3930,
- + 3957,
- + 3983,
- + 4011,
- + 4033,
- + 4058,
- + 4087,
- + 4119,
- + 4158,
- + 4200,
- + 4241,
- + 4285,
- + 4314,
- + 4346,
- + 4362,
- + 4379,
- + 4408,
- + 4423,
- + 4437,
- + 4460,
- + 4483,
- + 4506,
- + 4526,
- + 4547,
- + 4585,
- + 4622,
- + 4651,
- + 4678,
- + 4705,
- + 4735,
- + 4763,
- + 4800,
- + 4829,
- + 4843,
- + 4858,
- + 4885,
- + 4910,
- + 4933,
- + 4961,
- + 4992,
- + 5006,
- + 5021,
- + 5041,
- + 5074,
- + 5094,
- + 5116,
- + 5137,
- + 5156,
- + 5178,
- + 5202,
- + 5238,
- + 5261,
- + 5286,
- + 5311,
- + 5338,
- + 5355,
- + 5373,
- + 5393,
- + 5422,
- + 5436,
- +};
- class InspectorBackendDispatcherImpl : public InspectorBackendDispatcher {
- public:
- @@ -604,7 +839,7 @@
- }
- - sendResponse(callId, result, commandNames[kInspector_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kInspector_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Inspector_disable(long callId, JSONObject*)
- @@ -623,7 +858,7 @@
- }
- - sendResponse(callId, result, commandNames[kInspector_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kInspector_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Inspector_reset(long callId, JSONObject*)
- @@ -642,7 +877,7 @@
- }
- - sendResponse(callId, result, commandNames[kInspector_resetCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kInspector_resetCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Memory_getDOMCounters(long callId, JSONObject*)
- @@ -669,7 +904,7 @@
- result->setNumber("jsEventListeners", out_jsEventListeners);
- }
- }
- - sendResponse(callId, result, commandNames[kMemory_getDOMCountersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kMemory_getDOMCountersCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_enable(long callId, JSONObject*)
- @@ -688,7 +923,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_disable(long callId, JSONObject*)
- @@ -707,7 +942,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_addScriptToEvaluateOnLoad(long callId, JSONObject* requestMessageObject)
- @@ -735,7 +970,7 @@
- result->setString("identifier", out_identifier);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_addScriptToEvaluateOnLoadCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_addScriptToEvaluateOnLoadCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_removeScriptToEvaluateOnLoad(long callId, JSONObject* requestMessageObject)
- @@ -759,7 +994,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_removeScriptToEvaluateOnLoadCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_removeScriptToEvaluateOnLoadCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_reload(long callId, JSONObject* requestMessageObject)
- @@ -788,7 +1023,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_reloadCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_reloadCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_navigate(long callId, JSONObject* requestMessageObject)
- @@ -812,7 +1047,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_navigateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_navigateCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getNavigationHistory(long callId, JSONObject* requestMessageObject)
- @@ -841,7 +1076,7 @@
- result->setValue("entries", out_entries);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getNavigationHistoryCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_getNavigationHistoryCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_navigateToHistoryEntry(long callId, JSONObject* requestMessageObject)
- @@ -865,7 +1100,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_navigateToHistoryEntryCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_navigateToHistoryEntryCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getCookies(long callId, JSONObject*)
- @@ -890,7 +1125,7 @@
- result->setString("cookiesString", out_cookiesString);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getCookiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_getCookiesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_deleteCookie(long callId, JSONObject* requestMessageObject)
- @@ -915,7 +1150,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_deleteCookieCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_deleteCookieCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getResourceTree(long callId, JSONObject*)
- @@ -938,7 +1173,7 @@
- result->setValue("frameTree", out_frameTree);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getResourceTreeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_getResourceTreeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getResourceContent(long callId, JSONObject* requestMessageObject)
- @@ -969,7 +1204,7 @@
- result->setBoolean("base64Encoded", out_base64Encoded);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getResourceContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_getResourceContentCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_searchInResource(long callId, JSONObject* requestMessageObject)
- @@ -1003,7 +1238,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_searchInResourceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_searchInResourceCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setDocumentContent(long callId, JSONObject* requestMessageObject)
- @@ -1028,7 +1263,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setDocumentContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setDocumentContentCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setDeviceMetricsOverride(long callId, JSONObject* requestMessageObject)
- @@ -1057,7 +1292,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setDeviceMetricsOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setDeviceMetricsOverrideCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowPaintRects(long callId, JSONObject* requestMessageObject)
- @@ -1081,7 +1316,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowPaintRectsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setShowPaintRectsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowDebugBorders(long callId, JSONObject* requestMessageObject)
- @@ -1105,7 +1340,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowDebugBordersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setShowDebugBordersCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowFPSCounter(long callId, JSONObject* requestMessageObject)
- @@ -1129,7 +1364,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowFPSCounterCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setShowFPSCounterCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setContinuousPaintingEnabled(long callId, JSONObject* requestMessageObject)
- @@ -1153,7 +1388,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setContinuousPaintingEnabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setContinuousPaintingEnabledCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowScrollBottleneckRects(long callId, JSONObject* requestMessageObject)
- @@ -1177,7 +1412,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowScrollBottleneckRectsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setShowScrollBottleneckRectsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getScriptExecutionStatus(long callId, JSONObject*)
- @@ -1200,7 +1435,7 @@
- result->setString("result", TypeBuilder::getEnumConstantValue(out_result));
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getScriptExecutionStatusCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_getScriptExecutionStatusCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setScriptExecutionDisabled(long callId, JSONObject* requestMessageObject)
- @@ -1224,7 +1459,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setScriptExecutionDisabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setScriptExecutionDisabledCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setGeolocationOverride(long callId, JSONObject* requestMessageObject)
- @@ -1253,7 +1488,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setGeolocationOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setGeolocationOverrideCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_clearGeolocationOverride(long callId, JSONObject*)
- @@ -1272,7 +1507,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_clearGeolocationOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_clearGeolocationOverrideCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setDeviceOrientationOverride(long callId, JSONObject* requestMessageObject)
- @@ -1298,7 +1533,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setDeviceOrientationOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setDeviceOrientationOverrideCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_clearDeviceOrientationOverride(long callId, JSONObject*)
- @@ -1317,7 +1552,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_clearDeviceOrientationOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_clearDeviceOrientationOverrideCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setTouchEmulationEnabled(long callId, JSONObject* requestMessageObject)
- @@ -1341,7 +1576,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setTouchEmulationEnabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setTouchEmulationEnabledCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setEmulatedMedia(long callId, JSONObject* requestMessageObject)
- @@ -1365,7 +1600,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setEmulatedMediaCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setEmulatedMediaCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_captureScreenshot(long callId, JSONObject* requestMessageObject)
- @@ -1406,7 +1641,7 @@
- result->setValue("viewport", out_viewport);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_captureScreenshotCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_captureScreenshotCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_canScreencast(long callId, JSONObject*)
- @@ -1429,7 +1664,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_canScreencastCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_canScreencastCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_startScreencast(long callId, JSONObject* requestMessageObject)
- @@ -1460,7 +1695,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_startScreencastCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_startScreencastCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_stopScreencast(long callId, JSONObject*)
- @@ -1479,7 +1714,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_stopScreencastCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_stopScreencastCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_handleJavaScriptDialog(long callId, JSONObject* requestMessageObject)
- @@ -1505,7 +1740,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_handleJavaScriptDialogCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_handleJavaScriptDialogCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowViewportSizeOnResize(long callId, JSONObject* requestMessageObject)
- @@ -1531,7 +1766,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowViewportSizeOnResizeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setShowViewportSizeOnResizeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setForceCompositingMode(long callId, JSONObject* requestMessageObject)
- @@ -1555,7 +1790,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setForceCompositingModeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kPage_setForceCompositingModeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_evaluate(long callId, JSONObject* requestMessageObject)
- @@ -1598,7 +1833,7 @@
- result->setBoolean("wasThrown", out_wasThrown.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kRuntime_evaluateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kRuntime_evaluateCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_callFunctionOn(long callId, JSONObject* requestMessageObject)
- @@ -1638,7 +1873,7 @@
- result->setBoolean("wasThrown", out_wasThrown.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kRuntime_callFunctionOnCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kRuntime_callFunctionOnCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_getProperties(long callId, JSONObject* requestMessageObject)
- @@ -1673,7 +1908,7 @@
- result->setValue("internalProperties", out_internalProperties);
- }
- }
- - sendResponse(callId, result, commandNames[kRuntime_getPropertiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kRuntime_getPropertiesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_releaseObject(long callId, JSONObject* requestMessageObject)
- @@ -1697,7 +1932,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_releaseObjectCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kRuntime_releaseObjectCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_releaseObjectGroup(long callId, JSONObject* requestMessageObject)
- @@ -1721,7 +1956,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_releaseObjectGroupCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kRuntime_releaseObjectGroupCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_run(long callId, JSONObject*)
- @@ -1740,7 +1975,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_runCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kRuntime_runCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_enable(long callId, JSONObject*)
- @@ -1759,7 +1994,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kRuntime_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_disable(long callId, JSONObject*)
- @@ -1778,7 +2013,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kRuntime_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_enable(long callId, JSONObject*)
- @@ -1797,7 +2032,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kConsole_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_disable(long callId, JSONObject*)
- @@ -1816,7 +2051,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kConsole_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_clearMessages(long callId, JSONObject*)
- @@ -1835,7 +2070,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_clearMessagesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kConsole_clearMessagesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_setMonitoringXHREnabled(long callId, JSONObject* requestMessageObject)
- @@ -1859,7 +2094,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_setMonitoringXHREnabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kConsole_setMonitoringXHREnabledCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_addInspectedNode(long callId, JSONObject* requestMessageObject)
- @@ -1883,7 +2118,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_addInspectedNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kConsole_addInspectedNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_addInspectedHeapObject(long callId, JSONObject* requestMessageObject)
- @@ -1907,7 +2142,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_addInspectedHeapObjectCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kConsole_addInspectedHeapObjectCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_enable(long callId, JSONObject*)
- @@ -1926,7 +2161,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_disable(long callId, JSONObject*)
- @@ -1945,7 +2180,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_setUserAgentOverride(long callId, JSONObject* requestMessageObject)
- @@ -1969,7 +2204,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_setUserAgentOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_setUserAgentOverrideCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_setExtraHTTPHeaders(long callId, JSONObject* requestMessageObject)
- @@ -1993,7 +2228,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_setExtraHTTPHeadersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_setExtraHTTPHeadersCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_getResponseBody(long callId, JSONObject* requestMessageObject)
- @@ -2023,7 +2258,7 @@
- result->setBoolean("base64Encoded", out_base64Encoded);
- }
- }
- - sendResponse(callId, result, commandNames[kNetwork_getResponseBodyCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_getResponseBodyCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_replayXHR(long callId, JSONObject* requestMessageObject)
- @@ -2047,7 +2282,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_replayXHRCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_replayXHRCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_canClearBrowserCache(long callId, JSONObject*)
- @@ -2070,7 +2305,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kNetwork_canClearBrowserCacheCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_canClearBrowserCacheCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_clearBrowserCache(long callId, JSONObject*)
- @@ -2089,7 +2324,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_clearBrowserCacheCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_clearBrowserCacheCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_canClearBrowserCookies(long callId, JSONObject*)
- @@ -2112,7 +2347,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kNetwork_canClearBrowserCookiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_canClearBrowserCookiesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_clearBrowserCookies(long callId, JSONObject*)
- @@ -2131,7 +2366,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_clearBrowserCookiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_clearBrowserCookiesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_setCacheDisabled(long callId, JSONObject* requestMessageObject)
- @@ -2155,7 +2390,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_setCacheDisabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_setCacheDisabledCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::NetworkCommandHandler::LoadResourceForFrontendCallback::LoadResourceForFrontendCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2197,7 +2432,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kNetwork_loadResourceForFrontendCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kNetwork_loadResourceForFrontendCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Database_enable(long callId, JSONObject*)
- @@ -2216,7 +2451,7 @@
- }
- - sendResponse(callId, result, commandNames[kDatabase_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDatabase_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Database_disable(long callId, JSONObject*)
- @@ -2235,7 +2470,7 @@
- }
- - sendResponse(callId, result, commandNames[kDatabase_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDatabase_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Database_getDatabaseTableNames(long callId, JSONObject* requestMessageObject)
- @@ -2263,7 +2498,7 @@
- result->setValue("tableNames", out_tableNames);
- }
- }
- - sendResponse(callId, result, commandNames[kDatabase_getDatabaseTableNamesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDatabase_getDatabaseTableNamesCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::DatabaseCommandHandler::ExecuteSQLCallback::ExecuteSQLCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2306,7 +2541,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kDatabase_executeSQLCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDatabase_executeSQLCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::IndexedDB_enable(long callId, JSONObject*)
- @@ -2325,7 +2560,7 @@
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kIndexedDB_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::IndexedDB_disable(long callId, JSONObject*)
- @@ -2344,7 +2579,7 @@
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kIndexedDB_disableCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDatabaseNamesCallback::RequestDatabaseNamesCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2381,7 +2616,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_requestDatabaseNamesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kIndexedDB_requestDatabaseNamesCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDatabaseCallback::RequestDatabaseCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2419,7 +2654,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_requestDatabaseCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kIndexedDB_requestDatabaseCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDataCallback::RequestDataCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2464,7 +2699,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_requestDataCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kIndexedDB_requestDataCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::IndexedDBCommandHandler::ClearObjectStoreCallback::ClearObjectStoreCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2502,7 +2737,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_clearObjectStoreCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kIndexedDB_clearObjectStoreCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_enable(long callId, JSONObject*)
- @@ -2521,7 +2756,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMStorage_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_disable(long callId, JSONObject*)
- @@ -2540,7 +2775,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMStorage_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_getDOMStorageItems(long callId, JSONObject* requestMessageObject)
- @@ -2568,7 +2803,7 @@
- result->setValue("entries", out_entries);
- }
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_getDOMStorageItemsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMStorage_getDOMStorageItemsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_setDOMStorageItem(long callId, JSONObject* requestMessageObject)
- @@ -2594,7 +2829,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_setDOMStorageItemCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMStorage_setDOMStorageItemCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_removeDOMStorageItem(long callId, JSONObject* requestMessageObject)
- @@ -2619,7 +2854,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_removeDOMStorageItemCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMStorage_removeDOMStorageItemCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::ApplicationCache_getFramesWithManifests(long callId, JSONObject*)
- @@ -2642,7 +2877,7 @@
- result->setValue("frameIds", out_frameIds);
- }
- }
- - sendResponse(callId, result, commandNames[kApplicationCache_getFramesWithManifestsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kApplicationCache_getFramesWithManifestsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::ApplicationCache_enable(long callId, JSONObject*)
- @@ -2661,7 +2896,7 @@
- }
- - sendResponse(callId, result, commandNames[kApplicationCache_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kApplicationCache_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::ApplicationCache_getManifestForFrame(long callId, JSONObject* requestMessageObject)
- @@ -2689,7 +2924,7 @@
- result->setString("manifestURL", out_manifestURL);
- }
- }
- - sendResponse(callId, result, commandNames[kApplicationCache_getManifestForFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kApplicationCache_getManifestForFrameCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::ApplicationCache_getApplicationCacheForFrame(long callId, JSONObject* requestMessageObject)
- @@ -2717,7 +2952,7 @@
- result->setValue("applicationCache", out_applicationCache);
- }
- }
- - sendResponse(callId, result, commandNames[kApplicationCache_getApplicationCacheForFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kApplicationCache_getApplicationCacheForFrameCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::FileSystem_enable(long callId, JSONObject*)
- @@ -2736,7 +2971,7 @@
- }
- - sendResponse(callId, result, commandNames[kFileSystem_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kFileSystem_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::FileSystem_disable(long callId, JSONObject*)
- @@ -2755,7 +2990,7 @@
- }
- - sendResponse(callId, result, commandNames[kFileSystem_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kFileSystem_disableCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::RequestFileSystemRootCallback::RequestFileSystemRootCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2795,7 +3030,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_requestFileSystemRootCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kFileSystem_requestFileSystemRootCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::RequestDirectoryContentCallback::RequestDirectoryContentCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2834,7 +3069,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_requestDirectoryContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kFileSystem_requestDirectoryContentCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::RequestMetadataCallback::RequestMetadataCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2873,7 +3108,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_requestMetadataCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kFileSystem_requestMetadataCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::RequestFileContentCallback::RequestFileContentCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2921,7 +3156,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_requestFileContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kFileSystem_requestFileContentCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::DeleteEntryCallback::DeleteEntryCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2958,7 +3193,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_deleteEntryCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kFileSystem_deleteEntryCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getDocument(long callId, JSONObject*)
- @@ -2981,7 +3216,7 @@
- result->setValue("root", out_root);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getDocumentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_getDocumentCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_requestChildNodes(long callId, JSONObject* requestMessageObject)
- @@ -3007,7 +3242,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_requestChildNodesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_requestChildNodesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_querySelector(long callId, JSONObject* requestMessageObject)
- @@ -3036,7 +3271,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_querySelectorCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_querySelectorCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_querySelectorAll(long callId, JSONObject* requestMessageObject)
- @@ -3065,7 +3300,7 @@
- result->setValue("nodeIds", out_nodeIds);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_querySelectorAllCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_querySelectorAllCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setNodeName(long callId, JSONObject* requestMessageObject)
- @@ -3094,7 +3329,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_setNodeNameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_setNodeNameCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setNodeValue(long callId, JSONObject* requestMessageObject)
- @@ -3119,7 +3354,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setNodeValueCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_setNodeValueCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_removeNode(long callId, JSONObject* requestMessageObject)
- @@ -3143,7 +3378,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_removeNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_removeNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setAttributeValue(long callId, JSONObject* requestMessageObject)
- @@ -3169,7 +3404,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setAttributeValueCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_setAttributeValueCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setAttributesAsText(long callId, JSONObject* requestMessageObject)
- @@ -3196,7 +3431,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setAttributesAsTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_setAttributesAsTextCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_removeAttribute(long callId, JSONObject* requestMessageObject)
- @@ -3221,7 +3456,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_removeAttributeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_removeAttributeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getEventListenersForNode(long callId, JSONObject* requestMessageObject)
- @@ -3251,7 +3486,7 @@
- result->setValue("listeners", out_listeners);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getEventListenersForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_getEventListenersForNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getOuterHTML(long callId, JSONObject* requestMessageObject)
- @@ -3279,7 +3514,7 @@
- result->setString("outerHTML", out_outerHTML);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getOuterHTMLCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_getOuterHTMLCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setOuterHTML(long callId, JSONObject* requestMessageObject)
- @@ -3304,7 +3539,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setOuterHTMLCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_setOuterHTMLCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_performSearch(long callId, JSONObject* requestMessageObject)
- @@ -3334,7 +3569,7 @@
- result->setNumber("resultCount", out_resultCount);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_performSearchCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_performSearchCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getSearchResults(long callId, JSONObject* requestMessageObject)
- @@ -3364,7 +3599,7 @@
- result->setValue("nodeIds", out_nodeIds);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getSearchResultsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_getSearchResultsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_discardSearchResults(long callId, JSONObject* requestMessageObject)
- @@ -3388,7 +3623,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_discardSearchResultsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_discardSearchResultsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_requestNode(long callId, JSONObject* requestMessageObject)
- @@ -3416,7 +3651,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_requestNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_requestNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setInspectModeEnabled(long callId, JSONObject* requestMessageObject)
- @@ -3444,7 +3679,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setInspectModeEnabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_setInspectModeEnabledCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_highlightRect(long callId, JSONObject* requestMessageObject)
- @@ -3475,7 +3710,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_highlightRectCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_highlightRectCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_highlightQuad(long callId, JSONObject* requestMessageObject)
- @@ -3503,7 +3738,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_highlightQuadCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_highlightQuadCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_highlightNode(long callId, JSONObject* requestMessageObject)
- @@ -3531,7 +3766,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_highlightNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_highlightNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_hideHighlight(long callId, JSONObject*)
- @@ -3550,7 +3785,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_hideHighlightCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_hideHighlightCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_highlightFrame(long callId, JSONObject* requestMessageObject)
- @@ -3578,7 +3813,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_highlightFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_highlightFrameCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_pushNodeByPathToFrontend(long callId, JSONObject* requestMessageObject)
- @@ -3606,7 +3841,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_pushNodeByPathToFrontendCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_pushNodeByPathToFrontendCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_pushNodeByBackendIdToFrontend(long callId, JSONObject* requestMessageObject)
- @@ -3634,7 +3869,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_pushNodeByBackendIdToFrontendCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_pushNodeByBackendIdToFrontendCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_releaseBackendNodeIds(long callId, JSONObject* requestMessageObject)
- @@ -3658,7 +3893,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_releaseBackendNodeIdsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_releaseBackendNodeIdsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_resolveNode(long callId, JSONObject* requestMessageObject)
- @@ -3688,7 +3923,7 @@
- result->setValue("object", out_object);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_resolveNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_resolveNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getAttributes(long callId, JSONObject* requestMessageObject)
- @@ -3716,7 +3951,7 @@
- result->setValue("attributes", out_attributes);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getAttributesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_getAttributesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_moveTo(long callId, JSONObject* requestMessageObject)
- @@ -3747,7 +3982,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_moveToCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_moveToCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_undo(long callId, JSONObject*)
- @@ -3766,7 +4001,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_undoCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_undoCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_redo(long callId, JSONObject*)
- @@ -3785,7 +4020,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_redoCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_redoCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_markUndoableState(long callId, JSONObject*)
- @@ -3804,7 +4039,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_markUndoableStateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_markUndoableStateCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_focus(long callId, JSONObject* requestMessageObject)
- @@ -3828,7 +4063,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_focusCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_focusCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setFileInputFiles(long callId, JSONObject* requestMessageObject)
- @@ -3853,7 +4088,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setFileInputFilesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_setFileInputFilesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getBoxModel(long callId, JSONObject* requestMessageObject)
- @@ -3881,7 +4116,7 @@
- result->setValue("model", out_model);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getBoxModelCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_getBoxModelCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getNodeForLocation(long callId, JSONObject* requestMessageObject)
- @@ -3910,7 +4145,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getNodeForLocationCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_getNodeForLocationCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getRelayoutBoundary(long callId, JSONObject* requestMessageObject)
- @@ -3938,7 +4173,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getRelayoutBoundaryCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOM_getRelayoutBoundaryCmd], protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::CSSCommandHandler::EnableCallback::EnableCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -3969,7 +4204,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kCSS_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_disable(long callId, JSONObject*)
- @@ -3988,7 +4223,7 @@
- }
- - sendResponse(callId, result, commandNames[kCSS_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getMatchedStylesForNode(long callId, JSONObject* requestMessageObject)
- @@ -4027,7 +4262,7 @@
- result->setValue("inherited", out_inherited);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getMatchedStylesForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getMatchedStylesForNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getInlineStylesForNode(long callId, JSONObject* requestMessageObject)
- @@ -4059,7 +4294,7 @@
- result->setValue("attributesStyle", out_attributesStyle);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getInlineStylesForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getInlineStylesForNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getComputedStyleForNode(long callId, JSONObject* requestMessageObject)
- @@ -4087,7 +4322,7 @@
- result->setValue("computedStyle", out_computedStyle);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getComputedStyleForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getComputedStyleForNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getPlatformFontsForNode(long callId, JSONObject* requestMessageObject)
- @@ -4117,7 +4352,7 @@
- result->setValue("fonts", out_fonts);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getPlatformFontsForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getPlatformFontsForNodeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getAllStyleSheets(long callId, JSONObject*)
- @@ -4140,7 +4375,7 @@
- result->setValue("headers", out_headers);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getAllStyleSheetsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getAllStyleSheetsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getStyleSheet(long callId, JSONObject* requestMessageObject)
- @@ -4168,7 +4403,7 @@
- result->setValue("styleSheet", out_styleSheet);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getStyleSheetCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getStyleSheetCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getStyleSheetText(long callId, JSONObject* requestMessageObject)
- @@ -4196,7 +4431,7 @@
- result->setString("text", out_text);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getStyleSheetTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getStyleSheetTextCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_setStyleSheetText(long callId, JSONObject* requestMessageObject)
- @@ -4221,7 +4456,7 @@
- }
- - sendResponse(callId, result, commandNames[kCSS_setStyleSheetTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_setStyleSheetTextCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_setStyleText(long callId, JSONObject* requestMessageObject)
- @@ -4250,7 +4485,7 @@
- result->setValue("style", out_style);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_setStyleTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_setStyleTextCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_setPropertyText(long callId, JSONObject* requestMessageObject)
- @@ -4281,7 +4516,7 @@
- result->setValue("style", out_style);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_setPropertyTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_setPropertyTextCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_toggleProperty(long callId, JSONObject* requestMessageObject)
- @@ -4311,7 +4546,7 @@
- result->setValue("style", out_style);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_togglePropertyCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_togglePropertyCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_setRuleSelector(long callId, JSONObject* requestMessageObject)
- @@ -4340,7 +4575,7 @@
- result->setValue("rule", out_rule);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_setRuleSelectorCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_setRuleSelectorCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_addRule(long callId, JSONObject* requestMessageObject)
- @@ -4369,7 +4604,7 @@
- result->setValue("rule", out_rule);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_addRuleCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_addRuleCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getSupportedCSSProperties(long callId, JSONObject*)
- @@ -4392,7 +4627,7 @@
- result->setValue("cssProperties", out_cssProperties);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getSupportedCSSPropertiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getSupportedCSSPropertiesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_forcePseudoState(long callId, JSONObject* requestMessageObject)
- @@ -4417,7 +4652,7 @@
- }
- - sendResponse(callId, result, commandNames[kCSS_forcePseudoStateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_forcePseudoStateCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getNamedFlowCollection(long callId, JSONObject* requestMessageObject)
- @@ -4445,7 +4680,7 @@
- result->setValue("namedFlows", out_namedFlows);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getNamedFlowCollectionCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCSS_getNamedFlowCollectionCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Timeline_enable(long callId, JSONObject*)
- @@ -4464,7 +4699,7 @@
- }
- - sendResponse(callId, result, commandNames[kTimeline_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kTimeline_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Timeline_disable(long callId, JSONObject*)
- @@ -4483,7 +4718,7 @@
- }
- - sendResponse(callId, result, commandNames[kTimeline_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kTimeline_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Timeline_start(long callId, JSONObject* requestMessageObject)
- @@ -4512,7 +4747,7 @@
- }
- - sendResponse(callId, result, commandNames[kTimeline_startCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kTimeline_startCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Timeline_stop(long callId, JSONObject*)
- @@ -4536,7 +4771,7 @@
- result->setValue("events", out_events);
- }
- }
- - sendResponse(callId, result, commandNames[kTimeline_stopCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kTimeline_stopCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_enable(long callId, JSONObject*)
- @@ -4555,7 +4790,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_disable(long callId, JSONObject*)
- @@ -4574,7 +4809,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setBreakpointsActive(long callId, JSONObject* requestMessageObject)
- @@ -4598,7 +4833,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setBreakpointsActiveCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_setBreakpointsActiveCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setSkipAllPauses(long callId, JSONObject* requestMessageObject)
- @@ -4624,7 +4859,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setSkipAllPausesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_setSkipAllPausesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setBreakpointByUrl(long callId, JSONObject* requestMessageObject)
- @@ -4664,7 +4899,7 @@
- result->setValue("locations", out_locations);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_setBreakpointByUrlCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_setBreakpointByUrlCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -4696,7 +4931,7 @@
- result->setValue("actualLocation", out_actualLocation);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_setBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_setBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_removeBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -4720,7 +4955,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_removeBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_removeBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_continueToLocation(long callId, JSONObject* requestMessageObject)
- @@ -4746,7 +4981,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_continueToLocationCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_continueToLocationCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_stepOver(long callId, JSONObject* requestMessageObject)
- @@ -4771,7 +5006,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_stepOverCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_stepOverCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_stepInto(long callId, JSONObject*)
- @@ -4790,7 +5025,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_stepIntoCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_stepIntoCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_stepOut(long callId, JSONObject* requestMessageObject)
- @@ -4815,7 +5050,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_stepOutCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_stepOutCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_pause(long callId, JSONObject*)
- @@ -4834,7 +5069,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_pauseCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_pauseCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_resume(long callId, JSONObject*)
- @@ -4853,7 +5088,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_resumeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_resumeCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_searchInContent(long callId, JSONObject* requestMessageObject)
- @@ -4886,7 +5121,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_searchInContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_searchInContentCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_canSetScriptSource(long callId, JSONObject*)
- @@ -4909,7 +5144,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_canSetScriptSourceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_canSetScriptSourceCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setScriptSource(long callId, JSONObject* requestMessageObject)
- @@ -4949,7 +5184,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_setScriptSourceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_setScriptSourceCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_restartFrame(long callId, JSONObject* requestMessageObject)
- @@ -4979,7 +5214,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_restartFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_restartFrameCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_getScriptSource(long callId, JSONObject* requestMessageObject)
- @@ -5007,7 +5242,7 @@
- result->setString("scriptSource", out_scriptSource);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_getScriptSourceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_getScriptSourceCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_getFunctionDetails(long callId, JSONObject* requestMessageObject)
- @@ -5035,7 +5270,7 @@
- result->setValue("details", out_details);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_getFunctionDetailsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_getFunctionDetailsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setPauseOnExceptions(long callId, JSONObject* requestMessageObject)
- @@ -5059,7 +5294,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setPauseOnExceptionsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_setPauseOnExceptionsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_evaluateOnCallFrame(long callId, JSONObject* requestMessageObject)
- @@ -5101,7 +5336,7 @@
- result->setBoolean("wasThrown", out_wasThrown.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_evaluateOnCallFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_evaluateOnCallFrameCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_compileScript(long callId, JSONObject* requestMessageObject)
- @@ -5134,7 +5369,7 @@
- result->setString("syntaxErrorMessage", out_syntaxErrorMessage.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_compileScriptCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_compileScriptCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_runScript(long callId, JSONObject* requestMessageObject)
- @@ -5171,7 +5406,7 @@
- result->setBoolean("wasThrown", out_wasThrown.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_runScriptCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_runScriptCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setOverlayMessage(long callId, JSONObject* requestMessageObject)
- @@ -5196,7 +5431,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setOverlayMessageCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_setOverlayMessageCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setVariableValue(long callId, JSONObject* requestMessageObject)
- @@ -5226,7 +5461,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setVariableValueCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_setVariableValueCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_getStepInPositions(long callId, JSONObject* requestMessageObject)
- @@ -5255,7 +5490,7 @@
- result->setValue("stepInPositions", out_stepInPositions);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_getStepInPositionsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_getStepInPositionsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_getBacktrace(long callId, JSONObject*)
- @@ -5278,7 +5513,7 @@
- result->setValue("callFrames", out_callFrames);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_getBacktraceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_getBacktraceCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_skipStackFrames(long callId, JSONObject* requestMessageObject)
- @@ -5303,7 +5538,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_skipStackFramesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDebugger_skipStackFramesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_setDOMBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5328,7 +5563,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_setDOMBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMDebugger_setDOMBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_removeDOMBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5353,7 +5588,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_removeDOMBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMDebugger_removeDOMBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_setEventListenerBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5377,7 +5612,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_setEventListenerBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMDebugger_setEventListenerBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_removeEventListenerBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5401,7 +5636,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_removeEventListenerBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMDebugger_removeEventListenerBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_setInstrumentationBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5425,7 +5660,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_setInstrumentationBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMDebugger_setInstrumentationBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_removeInstrumentationBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5449,7 +5684,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_removeInstrumentationBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMDebugger_removeInstrumentationBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_setXHRBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5473,7 +5708,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_setXHRBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMDebugger_setXHRBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_removeXHRBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5497,7 +5732,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_removeXHRBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kDOMDebugger_removeXHRBreakpointCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_enable(long callId, JSONObject*)
- @@ -5516,7 +5751,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kProfiler_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_disable(long callId, JSONObject*)
- @@ -5535,7 +5770,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kProfiler_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_setSamplingInterval(long callId, JSONObject* requestMessageObject)
- @@ -5559,7 +5794,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_setSamplingIntervalCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kProfiler_setSamplingIntervalCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_start(long callId, JSONObject*)
- @@ -5578,7 +5813,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_startCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kProfiler_startCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_stop(long callId, JSONObject*)
- @@ -5601,7 +5836,7 @@
- result->setValue("header", out_header);
- }
- }
- - sendResponse(callId, result, commandNames[kProfiler_stopCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kProfiler_stopCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_getCPUProfile(long callId, JSONObject* requestMessageObject)
- @@ -5629,7 +5864,7 @@
- result->setValue("profile", out_profile);
- }
- }
- - sendResponse(callId, result, commandNames[kProfiler_getCPUProfileCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kProfiler_getCPUProfileCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_removeProfile(long callId, JSONObject* requestMessageObject)
- @@ -5654,7 +5889,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_removeProfileCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kProfiler_removeProfileCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_clearProfiles(long callId, JSONObject*)
- @@ -5673,7 +5908,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_clearProfilesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kProfiler_clearProfilesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_enable(long callId, JSONObject*)
- @@ -5692,7 +5927,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_disable(long callId, JSONObject*)
- @@ -5711,7 +5946,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_startTrackingHeapObjects(long callId, JSONObject*)
- @@ -5730,7 +5965,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_startTrackingHeapObjectsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_startTrackingHeapObjectsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_stopTrackingHeapObjects(long callId, JSONObject*)
- @@ -5749,7 +5984,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_stopTrackingHeapObjectsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_stopTrackingHeapObjectsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_getHeapSnapshot(long callId, JSONObject* requestMessageObject)
- @@ -5773,7 +6008,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_getHeapSnapshotCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_getHeapSnapshotCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_removeProfile(long callId, JSONObject* requestMessageObject)
- @@ -5797,7 +6032,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_removeProfileCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_removeProfileCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_clearProfiles(long callId, JSONObject*)
- @@ -5816,7 +6051,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_clearProfilesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_clearProfilesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_takeHeapSnapshot(long callId, JSONObject* requestMessageObject)
- @@ -5841,7 +6076,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_takeHeapSnapshotCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_takeHeapSnapshotCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_collectGarbage(long callId, JSONObject*)
- @@ -5860,7 +6095,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_collectGarbageCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_collectGarbageCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_getObjectByHeapObjectId(long callId, JSONObject* requestMessageObject)
- @@ -5890,7 +6125,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_getObjectByHeapObjectIdCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_getObjectByHeapObjectIdCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_getHeapObjectId(long callId, JSONObject* requestMessageObject)
- @@ -5918,7 +6153,7 @@
- result->setString("heapSnapshotObjectId", out_heapSnapshotObjectId);
- }
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_getHeapObjectIdCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kHeapProfiler_getHeapObjectIdCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_enable(long callId, JSONObject*)
- @@ -5937,7 +6172,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kWorker_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_disable(long callId, JSONObject*)
- @@ -5956,7 +6191,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kWorker_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_sendMessageToWorker(long callId, JSONObject* requestMessageObject)
- @@ -5981,7 +6216,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_sendMessageToWorkerCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kWorker_sendMessageToWorkerCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_canInspectWorkers(long callId, JSONObject*)
- @@ -6004,7 +6239,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kWorker_canInspectWorkersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kWorker_canInspectWorkersCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_connectToWorker(long callId, JSONObject* requestMessageObject)
- @@ -6028,7 +6263,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_connectToWorkerCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kWorker_connectToWorkerCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_disconnectFromWorker(long callId, JSONObject* requestMessageObject)
- @@ -6052,7 +6287,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_disconnectFromWorkerCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kWorker_disconnectFromWorkerCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_setAutoconnectToWorkers(long callId, JSONObject* requestMessageObject)
- @@ -6076,7 +6311,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_setAutoconnectToWorkersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kWorker_setAutoconnectToWorkersCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_enable(long callId, JSONObject*)
- @@ -6095,7 +6330,7 @@
- }
- - sendResponse(callId, result, commandNames[kCanvas_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_disable(long callId, JSONObject*)
- @@ -6114,7 +6349,7 @@
- }
- - sendResponse(callId, result, commandNames[kCanvas_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_dropTraceLog(long callId, JSONObject* requestMessageObject)
- @@ -6138,7 +6373,7 @@
- }
- - sendResponse(callId, result, commandNames[kCanvas_dropTraceLogCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_dropTraceLogCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_hasUninstrumentedCanvases(long callId, JSONObject*)
- @@ -6161,7 +6396,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_hasUninstrumentedCanvasesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_hasUninstrumentedCanvasesCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_captureFrame(long callId, JSONObject* requestMessageObject)
- @@ -6190,7 +6425,7 @@
- result->setString("traceLogId", out_traceLogId);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_captureFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_captureFrameCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_startCapturing(long callId, JSONObject* requestMessageObject)
- @@ -6219,7 +6454,7 @@
- result->setString("traceLogId", out_traceLogId);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_startCapturingCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_startCapturingCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_stopCapturing(long callId, JSONObject* requestMessageObject)
- @@ -6243,7 +6478,7 @@
- }
- - sendResponse(callId, result, commandNames[kCanvas_stopCapturingCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_stopCapturingCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_getTraceLog(long callId, JSONObject* requestMessageObject)
- @@ -6275,7 +6510,7 @@
- result->setValue("traceLog", out_traceLog);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_getTraceLogCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_getTraceLogCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_replayTraceLog(long callId, JSONObject* requestMessageObject)
- @@ -6306,7 +6541,7 @@
- result->setNumber("replayTime", out_replayTime);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_replayTraceLogCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_replayTraceLogCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_getResourceState(long callId, JSONObject* requestMessageObject)
- @@ -6335,7 +6570,7 @@
- result->setValue("resourceState", out_resourceState);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_getResourceStateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_getResourceStateCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_evaluateTraceLogCallArgument(long callId, JSONObject* requestMessageObject)
- @@ -6371,7 +6606,7 @@
- result->setValue("resourceState", out_resourceState);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_evaluateTraceLogCallArgumentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kCanvas_evaluateTraceLogCallArgumentCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Input_dispatchKeyEvent(long callId, JSONObject* requestMessageObject)
- @@ -6417,7 +6652,7 @@
- }
- - sendResponse(callId, result, commandNames[kInput_dispatchKeyEventCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kInput_dispatchKeyEventCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Input_dispatchMouseEvent(long callId, JSONObject* requestMessageObject)
- @@ -6453,7 +6688,7 @@
- }
- - sendResponse(callId, result, commandNames[kInput_dispatchMouseEventCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kInput_dispatchMouseEventCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Input_dispatchTouchEvent(long callId, JSONObject* requestMessageObject)
- @@ -6482,7 +6717,7 @@
- }
- - sendResponse(callId, result, commandNames[kInput_dispatchTouchEventCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kInput_dispatchTouchEventCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Input_dispatchGestureEvent(long callId, JSONObject* requestMessageObject)
- @@ -6516,7 +6751,7 @@
- }
- - sendResponse(callId, result, commandNames[kInput_dispatchGestureEventCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kInput_dispatchGestureEventCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::LayerTree_enable(long callId, JSONObject*)
- @@ -6535,7 +6770,7 @@
- }
- - sendResponse(callId, result, commandNames[kLayerTree_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kLayerTree_enableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::LayerTree_disable(long callId, JSONObject*)
- @@ -6554,7 +6789,7 @@
- }
- - sendResponse(callId, result, commandNames[kLayerTree_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kLayerTree_disableCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::LayerTree_getLayers(long callId, JSONObject* requestMessageObject)
- @@ -6583,7 +6818,7 @@
- result->setValue("layers", out_layers);
- }
- }
- - sendResponse(callId, result, commandNames[kLayerTree_getLayersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kLayerTree_getLayersCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::LayerTree_compositingReasons(long callId, JSONObject* requestMessageObject)
- @@ -6611,7 +6846,7 @@
- result->setValue("compositingReasons", out_compositingReasons);
- }
- }
- - sendResponse(callId, result, commandNames[kLayerTree_compositingReasonsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kLayerTree_compositingReasonsCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Tracing_start(long callId, JSONObject* requestMessageObject)
- @@ -6635,7 +6870,7 @@
- }
- - sendResponse(callId, result, commandNames[kTracing_startCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kTracing_startCmd], protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Tracing_end(long callId, JSONObject*)
- @@ -6654,7 +6889,7 @@
- }
- - sendResponse(callId, result, commandNames[kTracing_endCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandNames + commandNamesIndex[kTracing_endCmd], protocolErrors, error, resultErrorData);
- }
- @@ -6908,9 +7143,9 @@
- &InspectorBackendDispatcherImpl::Tracing_start,
- &InspectorBackendDispatcherImpl::Tracing_end,
- };
- - size_t length = WTF_ARRAY_LENGTH(commandNames);
- + size_t length = kMethodNamesEnumSize;
- for (size_t i = 0; i < length; ++i)
- - dispatchMap.add(commandNames[i], handlers[i]);
- + dispatchMap.add(commandNames + commandNamesIndex[i], handlers[i]);
- }
- RefPtr<JSONValue> parsedMessage = parseJSON(message);
- @@ -7130,7 +7365,7 @@
- m_alreadySent = true;
- }
- -COMPILE_ASSERT(static_cast<int>(InspectorBackendDispatcher::kMethodNamesEnumSize) == WTF_ARRAY_LENGTH(InspectorBackendDispatcher::commandNames), command_name_array_problem);
- +COMPILE_ASSERT(static_cast<int>(InspectorBackendDispatcher::kMethodNamesEnumSize) == WTF_ARRAY_LENGTH(InspectorBackendDispatcher::commandNamesIndex), command_name_array_problem);
- } // namespace WebCore
Add Comment
Please, Sign In to add comment