Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- out/Debug/gen/blink/InspectorBackendDispatcher.cpp.bak 2013-10-28 11:41:41.227179638 -0400
- +++ out/Debug/gen/blink/InspectorBackendDispatcher.cpp 2013-10-28 12:09:54.623228695 -0400
- @@ -17,242 +17,482 @@
- 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,
- +};
- +
- +const char* InspectorBackendDispatcher::commandName(MethodNames index) {
- + COMPILE_ASSERT(static_cast<int>(kMethodNamesEnumSize) == WTF_ARRAY_LENGTH(commandNamesIndex), command_name_array_problem);
- + return commandNames + commandNamesIndex[index];
- +}
- class InspectorBackendDispatcherImpl : public InspectorBackendDispatcher {
- public:
- @@ -604,7 +844,7 @@
- }
- - sendResponse(callId, result, commandNames[kInspector_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kInspector_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Inspector_disable(long callId, JSONObject*)
- @@ -623,7 +863,7 @@
- }
- - sendResponse(callId, result, commandNames[kInspector_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kInspector_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Inspector_reset(long callId, JSONObject*)
- @@ -642,7 +882,7 @@
- }
- - sendResponse(callId, result, commandNames[kInspector_resetCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kInspector_resetCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Memory_getDOMCounters(long callId, JSONObject*)
- @@ -669,7 +909,7 @@
- result->setNumber("jsEventListeners", out_jsEventListeners);
- }
- }
- - sendResponse(callId, result, commandNames[kMemory_getDOMCountersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kMemory_getDOMCountersCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_enable(long callId, JSONObject*)
- @@ -688,7 +928,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_disable(long callId, JSONObject*)
- @@ -707,7 +947,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_addScriptToEvaluateOnLoad(long callId, JSONObject* requestMessageObject)
- @@ -735,7 +975,7 @@
- result->setString("identifier", out_identifier);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_addScriptToEvaluateOnLoadCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_addScriptToEvaluateOnLoadCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_removeScriptToEvaluateOnLoad(long callId, JSONObject* requestMessageObject)
- @@ -759,7 +999,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_removeScriptToEvaluateOnLoadCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_removeScriptToEvaluateOnLoadCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_reload(long callId, JSONObject* requestMessageObject)
- @@ -788,7 +1028,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_reloadCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_reloadCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_navigate(long callId, JSONObject* requestMessageObject)
- @@ -812,7 +1052,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_navigateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_navigateCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getNavigationHistory(long callId, JSONObject* requestMessageObject)
- @@ -841,7 +1081,7 @@
- result->setValue("entries", out_entries);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getNavigationHistoryCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_getNavigationHistoryCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_navigateToHistoryEntry(long callId, JSONObject* requestMessageObject)
- @@ -865,7 +1105,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_navigateToHistoryEntryCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_navigateToHistoryEntryCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getCookies(long callId, JSONObject*)
- @@ -890,7 +1130,7 @@
- result->setString("cookiesString", out_cookiesString);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getCookiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_getCookiesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_deleteCookie(long callId, JSONObject* requestMessageObject)
- @@ -915,7 +1155,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_deleteCookieCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_deleteCookieCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getResourceTree(long callId, JSONObject*)
- @@ -938,7 +1178,7 @@
- result->setValue("frameTree", out_frameTree);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getResourceTreeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_getResourceTreeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getResourceContent(long callId, JSONObject* requestMessageObject)
- @@ -969,7 +1209,7 @@
- result->setBoolean("base64Encoded", out_base64Encoded);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getResourceContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_getResourceContentCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_searchInResource(long callId, JSONObject* requestMessageObject)
- @@ -1003,7 +1243,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_searchInResourceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_searchInResourceCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setDocumentContent(long callId, JSONObject* requestMessageObject)
- @@ -1028,7 +1268,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setDocumentContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setDocumentContentCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setDeviceMetricsOverride(long callId, JSONObject* requestMessageObject)
- @@ -1057,7 +1297,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setDeviceMetricsOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setDeviceMetricsOverrideCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowPaintRects(long callId, JSONObject* requestMessageObject)
- @@ -1081,7 +1321,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowPaintRectsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setShowPaintRectsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowDebugBorders(long callId, JSONObject* requestMessageObject)
- @@ -1105,7 +1345,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowDebugBordersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setShowDebugBordersCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowFPSCounter(long callId, JSONObject* requestMessageObject)
- @@ -1129,7 +1369,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowFPSCounterCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setShowFPSCounterCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setContinuousPaintingEnabled(long callId, JSONObject* requestMessageObject)
- @@ -1153,7 +1393,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setContinuousPaintingEnabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setContinuousPaintingEnabledCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowScrollBottleneckRects(long callId, JSONObject* requestMessageObject)
- @@ -1177,7 +1417,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowScrollBottleneckRectsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setShowScrollBottleneckRectsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_getScriptExecutionStatus(long callId, JSONObject*)
- @@ -1200,7 +1440,7 @@
- result->setString("result", TypeBuilder::getEnumConstantValue(out_result));
- }
- }
- - sendResponse(callId, result, commandNames[kPage_getScriptExecutionStatusCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_getScriptExecutionStatusCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setScriptExecutionDisabled(long callId, JSONObject* requestMessageObject)
- @@ -1224,7 +1464,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setScriptExecutionDisabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setScriptExecutionDisabledCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setGeolocationOverride(long callId, JSONObject* requestMessageObject)
- @@ -1253,7 +1493,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setGeolocationOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setGeolocationOverrideCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_clearGeolocationOverride(long callId, JSONObject*)
- @@ -1272,7 +1512,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_clearGeolocationOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_clearGeolocationOverrideCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setDeviceOrientationOverride(long callId, JSONObject* requestMessageObject)
- @@ -1298,7 +1538,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setDeviceOrientationOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setDeviceOrientationOverrideCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_clearDeviceOrientationOverride(long callId, JSONObject*)
- @@ -1317,7 +1557,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_clearDeviceOrientationOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_clearDeviceOrientationOverrideCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setTouchEmulationEnabled(long callId, JSONObject* requestMessageObject)
- @@ -1341,7 +1581,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setTouchEmulationEnabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setTouchEmulationEnabledCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setEmulatedMedia(long callId, JSONObject* requestMessageObject)
- @@ -1365,7 +1605,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setEmulatedMediaCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setEmulatedMediaCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_captureScreenshot(long callId, JSONObject* requestMessageObject)
- @@ -1406,7 +1646,7 @@
- result->setValue("viewport", out_viewport);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_captureScreenshotCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_captureScreenshotCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_canScreencast(long callId, JSONObject*)
- @@ -1429,7 +1669,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kPage_canScreencastCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_canScreencastCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_startScreencast(long callId, JSONObject* requestMessageObject)
- @@ -1460,7 +1700,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_startScreencastCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_startScreencastCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_stopScreencast(long callId, JSONObject*)
- @@ -1479,7 +1719,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_stopScreencastCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_stopScreencastCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_handleJavaScriptDialog(long callId, JSONObject* requestMessageObject)
- @@ -1505,7 +1745,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_handleJavaScriptDialogCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_handleJavaScriptDialogCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setShowViewportSizeOnResize(long callId, JSONObject* requestMessageObject)
- @@ -1531,7 +1771,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setShowViewportSizeOnResizeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setShowViewportSizeOnResizeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Page_setForceCompositingMode(long callId, JSONObject* requestMessageObject)
- @@ -1555,7 +1795,7 @@
- }
- - sendResponse(callId, result, commandNames[kPage_setForceCompositingModeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kPage_setForceCompositingModeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_evaluate(long callId, JSONObject* requestMessageObject)
- @@ -1598,7 +1838,7 @@
- result->setBoolean("wasThrown", out_wasThrown.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kRuntime_evaluateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kRuntime_evaluateCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_callFunctionOn(long callId, JSONObject* requestMessageObject)
- @@ -1638,7 +1878,7 @@
- result->setBoolean("wasThrown", out_wasThrown.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kRuntime_callFunctionOnCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kRuntime_callFunctionOnCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_getProperties(long callId, JSONObject* requestMessageObject)
- @@ -1673,7 +1913,7 @@
- result->setValue("internalProperties", out_internalProperties);
- }
- }
- - sendResponse(callId, result, commandNames[kRuntime_getPropertiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kRuntime_getPropertiesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_releaseObject(long callId, JSONObject* requestMessageObject)
- @@ -1697,7 +1937,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_releaseObjectCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kRuntime_releaseObjectCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_releaseObjectGroup(long callId, JSONObject* requestMessageObject)
- @@ -1721,7 +1961,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_releaseObjectGroupCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kRuntime_releaseObjectGroupCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_run(long callId, JSONObject*)
- @@ -1740,7 +1980,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_runCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kRuntime_runCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_enable(long callId, JSONObject*)
- @@ -1759,7 +1999,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kRuntime_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Runtime_disable(long callId, JSONObject*)
- @@ -1778,7 +2018,7 @@
- }
- - sendResponse(callId, result, commandNames[kRuntime_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kRuntime_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_enable(long callId, JSONObject*)
- @@ -1797,7 +2037,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kConsole_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_disable(long callId, JSONObject*)
- @@ -1816,7 +2056,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kConsole_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_clearMessages(long callId, JSONObject*)
- @@ -1835,7 +2075,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_clearMessagesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kConsole_clearMessagesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_setMonitoringXHREnabled(long callId, JSONObject* requestMessageObject)
- @@ -1859,7 +2099,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_setMonitoringXHREnabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kConsole_setMonitoringXHREnabledCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_addInspectedNode(long callId, JSONObject* requestMessageObject)
- @@ -1883,7 +2123,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_addInspectedNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kConsole_addInspectedNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Console_addInspectedHeapObject(long callId, JSONObject* requestMessageObject)
- @@ -1907,7 +2147,7 @@
- }
- - sendResponse(callId, result, commandNames[kConsole_addInspectedHeapObjectCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kConsole_addInspectedHeapObjectCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_enable(long callId, JSONObject*)
- @@ -1926,7 +2166,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_disable(long callId, JSONObject*)
- @@ -1945,7 +2185,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_setUserAgentOverride(long callId, JSONObject* requestMessageObject)
- @@ -1969,7 +2209,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_setUserAgentOverrideCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_setUserAgentOverrideCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_setExtraHTTPHeaders(long callId, JSONObject* requestMessageObject)
- @@ -1993,7 +2233,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_setExtraHTTPHeadersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_setExtraHTTPHeadersCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_getResponseBody(long callId, JSONObject* requestMessageObject)
- @@ -2023,7 +2263,7 @@
- result->setBoolean("base64Encoded", out_base64Encoded);
- }
- }
- - sendResponse(callId, result, commandNames[kNetwork_getResponseBodyCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_getResponseBodyCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_replayXHR(long callId, JSONObject* requestMessageObject)
- @@ -2047,7 +2287,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_replayXHRCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_replayXHRCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_canClearBrowserCache(long callId, JSONObject*)
- @@ -2070,7 +2310,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kNetwork_canClearBrowserCacheCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_canClearBrowserCacheCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_clearBrowserCache(long callId, JSONObject*)
- @@ -2089,7 +2329,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_clearBrowserCacheCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_clearBrowserCacheCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_canClearBrowserCookies(long callId, JSONObject*)
- @@ -2112,7 +2352,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kNetwork_canClearBrowserCookiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_canClearBrowserCookiesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_clearBrowserCookies(long callId, JSONObject*)
- @@ -2131,7 +2371,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_clearBrowserCookiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_clearBrowserCookiesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Network_setCacheDisabled(long callId, JSONObject* requestMessageObject)
- @@ -2155,7 +2395,7 @@
- }
- - sendResponse(callId, result, commandNames[kNetwork_setCacheDisabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_setCacheDisabledCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::NetworkCommandHandler::LoadResourceForFrontendCallback::LoadResourceForFrontendCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2197,7 +2437,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kNetwork_loadResourceForFrontendCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kNetwork_loadResourceForFrontendCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Database_enable(long callId, JSONObject*)
- @@ -2216,7 +2456,7 @@
- }
- - sendResponse(callId, result, commandNames[kDatabase_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDatabase_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Database_disable(long callId, JSONObject*)
- @@ -2235,7 +2475,7 @@
- }
- - sendResponse(callId, result, commandNames[kDatabase_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDatabase_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Database_getDatabaseTableNames(long callId, JSONObject* requestMessageObject)
- @@ -2263,7 +2503,7 @@
- result->setValue("tableNames", out_tableNames);
- }
- }
- - sendResponse(callId, result, commandNames[kDatabase_getDatabaseTableNamesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDatabase_getDatabaseTableNamesCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::DatabaseCommandHandler::ExecuteSQLCallback::ExecuteSQLCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2306,7 +2546,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kDatabase_executeSQLCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDatabase_executeSQLCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::IndexedDB_enable(long callId, JSONObject*)
- @@ -2325,7 +2565,7 @@
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kIndexedDB_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::IndexedDB_disable(long callId, JSONObject*)
- @@ -2344,7 +2584,7 @@
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kIndexedDB_disableCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDatabaseNamesCallback::RequestDatabaseNamesCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2381,7 +2621,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_requestDatabaseNamesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kIndexedDB_requestDatabaseNamesCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDatabaseCallback::RequestDatabaseCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2419,7 +2659,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_requestDatabaseCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kIndexedDB_requestDatabaseCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDataCallback::RequestDataCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2464,7 +2704,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_requestDataCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kIndexedDB_requestDataCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::IndexedDBCommandHandler::ClearObjectStoreCallback::ClearObjectStoreCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2502,7 +2742,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kIndexedDB_clearObjectStoreCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kIndexedDB_clearObjectStoreCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_enable(long callId, JSONObject*)
- @@ -2521,7 +2761,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMStorage_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_disable(long callId, JSONObject*)
- @@ -2540,7 +2780,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMStorage_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_getDOMStorageItems(long callId, JSONObject* requestMessageObject)
- @@ -2568,7 +2808,7 @@
- result->setValue("entries", out_entries);
- }
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_getDOMStorageItemsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMStorage_getDOMStorageItemsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_setDOMStorageItem(long callId, JSONObject* requestMessageObject)
- @@ -2594,7 +2834,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_setDOMStorageItemCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMStorage_setDOMStorageItemCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMStorage_removeDOMStorageItem(long callId, JSONObject* requestMessageObject)
- @@ -2619,7 +2859,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMStorage_removeDOMStorageItemCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMStorage_removeDOMStorageItemCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::ApplicationCache_getFramesWithManifests(long callId, JSONObject*)
- @@ -2642,7 +2882,7 @@
- result->setValue("frameIds", out_frameIds);
- }
- }
- - sendResponse(callId, result, commandNames[kApplicationCache_getFramesWithManifestsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kApplicationCache_getFramesWithManifestsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::ApplicationCache_enable(long callId, JSONObject*)
- @@ -2661,7 +2901,7 @@
- }
- - sendResponse(callId, result, commandNames[kApplicationCache_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kApplicationCache_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::ApplicationCache_getManifestForFrame(long callId, JSONObject* requestMessageObject)
- @@ -2689,7 +2929,7 @@
- result->setString("manifestURL", out_manifestURL);
- }
- }
- - sendResponse(callId, result, commandNames[kApplicationCache_getManifestForFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kApplicationCache_getManifestForFrameCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::ApplicationCache_getApplicationCacheForFrame(long callId, JSONObject* requestMessageObject)
- @@ -2717,7 +2957,7 @@
- result->setValue("applicationCache", out_applicationCache);
- }
- }
- - sendResponse(callId, result, commandNames[kApplicationCache_getApplicationCacheForFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kApplicationCache_getApplicationCacheForFrameCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::FileSystem_enable(long callId, JSONObject*)
- @@ -2736,7 +2976,7 @@
- }
- - sendResponse(callId, result, commandNames[kFileSystem_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kFileSystem_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::FileSystem_disable(long callId, JSONObject*)
- @@ -2755,7 +2995,7 @@
- }
- - sendResponse(callId, result, commandNames[kFileSystem_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kFileSystem_disableCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::RequestFileSystemRootCallback::RequestFileSystemRootCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2795,7 +3035,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_requestFileSystemRootCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kFileSystem_requestFileSystemRootCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::RequestDirectoryContentCallback::RequestDirectoryContentCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2834,7 +3074,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_requestDirectoryContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kFileSystem_requestDirectoryContentCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::RequestMetadataCallback::RequestMetadataCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2873,7 +3113,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_requestMetadataCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kFileSystem_requestMetadataCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::RequestFileContentCallback::RequestFileContentCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2921,7 +3161,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_requestFileContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kFileSystem_requestFileContentCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::FileSystemCommandHandler::DeleteEntryCallback::DeleteEntryCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -2958,7 +3198,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kFileSystem_deleteEntryCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kFileSystem_deleteEntryCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getDocument(long callId, JSONObject*)
- @@ -2981,7 +3221,7 @@
- result->setValue("root", out_root);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getDocumentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_getDocumentCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_requestChildNodes(long callId, JSONObject* requestMessageObject)
- @@ -3007,7 +3247,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_requestChildNodesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_requestChildNodesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_querySelector(long callId, JSONObject* requestMessageObject)
- @@ -3036,7 +3276,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_querySelectorCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_querySelectorCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_querySelectorAll(long callId, JSONObject* requestMessageObject)
- @@ -3065,7 +3305,7 @@
- result->setValue("nodeIds", out_nodeIds);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_querySelectorAllCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_querySelectorAllCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setNodeName(long callId, JSONObject* requestMessageObject)
- @@ -3094,7 +3334,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_setNodeNameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_setNodeNameCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setNodeValue(long callId, JSONObject* requestMessageObject)
- @@ -3119,7 +3359,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setNodeValueCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_setNodeValueCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_removeNode(long callId, JSONObject* requestMessageObject)
- @@ -3143,7 +3383,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_removeNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_removeNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setAttributeValue(long callId, JSONObject* requestMessageObject)
- @@ -3169,7 +3409,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setAttributeValueCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_setAttributeValueCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setAttributesAsText(long callId, JSONObject* requestMessageObject)
- @@ -3196,7 +3436,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setAttributesAsTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_setAttributesAsTextCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_removeAttribute(long callId, JSONObject* requestMessageObject)
- @@ -3221,7 +3461,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_removeAttributeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_removeAttributeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getEventListenersForNode(long callId, JSONObject* requestMessageObject)
- @@ -3251,7 +3491,7 @@
- result->setValue("listeners", out_listeners);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getEventListenersForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_getEventListenersForNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getOuterHTML(long callId, JSONObject* requestMessageObject)
- @@ -3279,7 +3519,7 @@
- result->setString("outerHTML", out_outerHTML);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getOuterHTMLCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_getOuterHTMLCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setOuterHTML(long callId, JSONObject* requestMessageObject)
- @@ -3304,7 +3544,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setOuterHTMLCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_setOuterHTMLCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_performSearch(long callId, JSONObject* requestMessageObject)
- @@ -3334,7 +3574,7 @@
- result->setNumber("resultCount", out_resultCount);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_performSearchCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_performSearchCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getSearchResults(long callId, JSONObject* requestMessageObject)
- @@ -3364,7 +3604,7 @@
- result->setValue("nodeIds", out_nodeIds);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getSearchResultsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_getSearchResultsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_discardSearchResults(long callId, JSONObject* requestMessageObject)
- @@ -3388,7 +3628,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_discardSearchResultsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_discardSearchResultsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_requestNode(long callId, JSONObject* requestMessageObject)
- @@ -3416,7 +3656,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_requestNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_requestNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setInspectModeEnabled(long callId, JSONObject* requestMessageObject)
- @@ -3444,7 +3684,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setInspectModeEnabledCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_setInspectModeEnabledCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_highlightRect(long callId, JSONObject* requestMessageObject)
- @@ -3475,7 +3715,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_highlightRectCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_highlightRectCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_highlightQuad(long callId, JSONObject* requestMessageObject)
- @@ -3503,7 +3743,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_highlightQuadCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_highlightQuadCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_highlightNode(long callId, JSONObject* requestMessageObject)
- @@ -3531,7 +3771,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_highlightNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_highlightNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_hideHighlight(long callId, JSONObject*)
- @@ -3550,7 +3790,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_hideHighlightCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_hideHighlightCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_highlightFrame(long callId, JSONObject* requestMessageObject)
- @@ -3578,7 +3818,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_highlightFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_highlightFrameCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_pushNodeByPathToFrontend(long callId, JSONObject* requestMessageObject)
- @@ -3606,7 +3846,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_pushNodeByPathToFrontendCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_pushNodeByPathToFrontendCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_pushNodeByBackendIdToFrontend(long callId, JSONObject* requestMessageObject)
- @@ -3634,7 +3874,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_pushNodeByBackendIdToFrontendCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_pushNodeByBackendIdToFrontendCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_releaseBackendNodeIds(long callId, JSONObject* requestMessageObject)
- @@ -3658,7 +3898,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_releaseBackendNodeIdsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_releaseBackendNodeIdsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_resolveNode(long callId, JSONObject* requestMessageObject)
- @@ -3688,7 +3928,7 @@
- result->setValue("object", out_object);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_resolveNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_resolveNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getAttributes(long callId, JSONObject* requestMessageObject)
- @@ -3716,7 +3956,7 @@
- result->setValue("attributes", out_attributes);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getAttributesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_getAttributesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_moveTo(long callId, JSONObject* requestMessageObject)
- @@ -3747,7 +3987,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_moveToCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_moveToCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_undo(long callId, JSONObject*)
- @@ -3766,7 +4006,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_undoCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_undoCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_redo(long callId, JSONObject*)
- @@ -3785,7 +4025,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_redoCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_redoCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_markUndoableState(long callId, JSONObject*)
- @@ -3804,7 +4044,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_markUndoableStateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_markUndoableStateCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_focus(long callId, JSONObject* requestMessageObject)
- @@ -3828,7 +4068,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_focusCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_focusCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_setFileInputFiles(long callId, JSONObject* requestMessageObject)
- @@ -3853,7 +4093,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOM_setFileInputFilesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_setFileInputFilesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getBoxModel(long callId, JSONObject* requestMessageObject)
- @@ -3881,7 +4121,7 @@
- result->setValue("model", out_model);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getBoxModelCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_getBoxModelCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getNodeForLocation(long callId, JSONObject* requestMessageObject)
- @@ -3910,7 +4150,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getNodeForLocationCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_getNodeForLocationCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOM_getRelayoutBoundary(long callId, JSONObject* requestMessageObject)
- @@ -3938,7 +4178,7 @@
- result->setNumber("nodeId", out_nodeId);
- }
- }
- - sendResponse(callId, result, commandNames[kDOM_getRelayoutBoundaryCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOM_getRelayoutBoundaryCmd), protocolErrors, error, resultErrorData);
- }
- InspectorBackendDispatcher::CSSCommandHandler::EnableCallback::EnableCallback(PassRefPtr<InspectorBackendDispatcherImpl> backendImpl, int id) : CallbackBase(backendImpl, id) {}
- @@ -3969,7 +4209,7 @@
- callback->disable();
- }
- - sendResponse(callId, result, commandNames[kCSS_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_disable(long callId, JSONObject*)
- @@ -3988,7 +4228,7 @@
- }
- - sendResponse(callId, result, commandNames[kCSS_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getMatchedStylesForNode(long callId, JSONObject* requestMessageObject)
- @@ -4027,7 +4267,7 @@
- result->setValue("inherited", out_inherited);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getMatchedStylesForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getMatchedStylesForNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getInlineStylesForNode(long callId, JSONObject* requestMessageObject)
- @@ -4059,7 +4299,7 @@
- result->setValue("attributesStyle", out_attributesStyle);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getInlineStylesForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getInlineStylesForNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getComputedStyleForNode(long callId, JSONObject* requestMessageObject)
- @@ -4087,7 +4327,7 @@
- result->setValue("computedStyle", out_computedStyle);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getComputedStyleForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getComputedStyleForNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getPlatformFontsForNode(long callId, JSONObject* requestMessageObject)
- @@ -4117,7 +4357,7 @@
- result->setValue("fonts", out_fonts);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getPlatformFontsForNodeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getPlatformFontsForNodeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getAllStyleSheets(long callId, JSONObject*)
- @@ -4140,7 +4380,7 @@
- result->setValue("headers", out_headers);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getAllStyleSheetsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getAllStyleSheetsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getStyleSheet(long callId, JSONObject* requestMessageObject)
- @@ -4168,7 +4408,7 @@
- result->setValue("styleSheet", out_styleSheet);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getStyleSheetCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getStyleSheetCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getStyleSheetText(long callId, JSONObject* requestMessageObject)
- @@ -4196,7 +4436,7 @@
- result->setString("text", out_text);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getStyleSheetTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getStyleSheetTextCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_setStyleSheetText(long callId, JSONObject* requestMessageObject)
- @@ -4221,7 +4461,7 @@
- }
- - sendResponse(callId, result, commandNames[kCSS_setStyleSheetTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_setStyleSheetTextCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_setStyleText(long callId, JSONObject* requestMessageObject)
- @@ -4250,7 +4490,7 @@
- result->setValue("style", out_style);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_setStyleTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_setStyleTextCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_setPropertyText(long callId, JSONObject* requestMessageObject)
- @@ -4281,7 +4521,7 @@
- result->setValue("style", out_style);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_setPropertyTextCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_setPropertyTextCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_toggleProperty(long callId, JSONObject* requestMessageObject)
- @@ -4311,7 +4551,7 @@
- result->setValue("style", out_style);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_togglePropertyCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_togglePropertyCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_setRuleSelector(long callId, JSONObject* requestMessageObject)
- @@ -4340,7 +4580,7 @@
- result->setValue("rule", out_rule);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_setRuleSelectorCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_setRuleSelectorCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_addRule(long callId, JSONObject* requestMessageObject)
- @@ -4369,7 +4609,7 @@
- result->setValue("rule", out_rule);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_addRuleCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_addRuleCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getSupportedCSSProperties(long callId, JSONObject*)
- @@ -4392,7 +4632,7 @@
- result->setValue("cssProperties", out_cssProperties);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getSupportedCSSPropertiesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getSupportedCSSPropertiesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_forcePseudoState(long callId, JSONObject* requestMessageObject)
- @@ -4417,7 +4657,7 @@
- }
- - sendResponse(callId, result, commandNames[kCSS_forcePseudoStateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_forcePseudoStateCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::CSS_getNamedFlowCollection(long callId, JSONObject* requestMessageObject)
- @@ -4445,7 +4685,7 @@
- result->setValue("namedFlows", out_namedFlows);
- }
- }
- - sendResponse(callId, result, commandNames[kCSS_getNamedFlowCollectionCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCSS_getNamedFlowCollectionCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Timeline_enable(long callId, JSONObject*)
- @@ -4464,7 +4704,7 @@
- }
- - sendResponse(callId, result, commandNames[kTimeline_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kTimeline_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Timeline_disable(long callId, JSONObject*)
- @@ -4483,7 +4723,7 @@
- }
- - sendResponse(callId, result, commandNames[kTimeline_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kTimeline_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Timeline_start(long callId, JSONObject* requestMessageObject)
- @@ -4512,7 +4752,7 @@
- }
- - sendResponse(callId, result, commandNames[kTimeline_startCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kTimeline_startCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Timeline_stop(long callId, JSONObject*)
- @@ -4536,7 +4776,7 @@
- result->setValue("events", out_events);
- }
- }
- - sendResponse(callId, result, commandNames[kTimeline_stopCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kTimeline_stopCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_enable(long callId, JSONObject*)
- @@ -4555,7 +4795,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_disable(long callId, JSONObject*)
- @@ -4574,7 +4814,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setBreakpointsActive(long callId, JSONObject* requestMessageObject)
- @@ -4598,7 +4838,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setBreakpointsActiveCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_setBreakpointsActiveCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setSkipAllPauses(long callId, JSONObject* requestMessageObject)
- @@ -4624,7 +4864,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setSkipAllPausesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_setSkipAllPausesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setBreakpointByUrl(long callId, JSONObject* requestMessageObject)
- @@ -4664,7 +4904,7 @@
- result->setValue("locations", out_locations);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_setBreakpointByUrlCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_setBreakpointByUrlCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -4696,7 +4936,7 @@
- result->setValue("actualLocation", out_actualLocation);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_setBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_setBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_removeBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -4720,7 +4960,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_removeBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_removeBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_continueToLocation(long callId, JSONObject* requestMessageObject)
- @@ -4746,7 +4986,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_continueToLocationCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_continueToLocationCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_stepOver(long callId, JSONObject* requestMessageObject)
- @@ -4771,7 +5011,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_stepOverCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_stepOverCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_stepInto(long callId, JSONObject*)
- @@ -4790,7 +5030,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_stepIntoCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_stepIntoCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_stepOut(long callId, JSONObject* requestMessageObject)
- @@ -4815,7 +5055,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_stepOutCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_stepOutCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_pause(long callId, JSONObject*)
- @@ -4834,7 +5074,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_pauseCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_pauseCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_resume(long callId, JSONObject*)
- @@ -4853,7 +5093,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_resumeCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_resumeCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_searchInContent(long callId, JSONObject* requestMessageObject)
- @@ -4886,7 +5126,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_searchInContentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_searchInContentCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_canSetScriptSource(long callId, JSONObject*)
- @@ -4909,7 +5149,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_canSetScriptSourceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_canSetScriptSourceCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setScriptSource(long callId, JSONObject* requestMessageObject)
- @@ -4949,7 +5189,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_setScriptSourceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_setScriptSourceCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_restartFrame(long callId, JSONObject* requestMessageObject)
- @@ -4979,7 +5219,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_restartFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_restartFrameCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_getScriptSource(long callId, JSONObject* requestMessageObject)
- @@ -5007,7 +5247,7 @@
- result->setString("scriptSource", out_scriptSource);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_getScriptSourceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_getScriptSourceCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_getFunctionDetails(long callId, JSONObject* requestMessageObject)
- @@ -5035,7 +5275,7 @@
- result->setValue("details", out_details);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_getFunctionDetailsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_getFunctionDetailsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setPauseOnExceptions(long callId, JSONObject* requestMessageObject)
- @@ -5059,7 +5299,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setPauseOnExceptionsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_setPauseOnExceptionsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_evaluateOnCallFrame(long callId, JSONObject* requestMessageObject)
- @@ -5101,7 +5341,7 @@
- result->setBoolean("wasThrown", out_wasThrown.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_evaluateOnCallFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_evaluateOnCallFrameCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_compileScript(long callId, JSONObject* requestMessageObject)
- @@ -5134,7 +5374,7 @@
- result->setString("syntaxErrorMessage", out_syntaxErrorMessage.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_compileScriptCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_compileScriptCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_runScript(long callId, JSONObject* requestMessageObject)
- @@ -5171,7 +5411,7 @@
- result->setBoolean("wasThrown", out_wasThrown.getValue());
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_runScriptCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_runScriptCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setOverlayMessage(long callId, JSONObject* requestMessageObject)
- @@ -5196,7 +5436,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setOverlayMessageCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_setOverlayMessageCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_setVariableValue(long callId, JSONObject* requestMessageObject)
- @@ -5226,7 +5466,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_setVariableValueCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_setVariableValueCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_getStepInPositions(long callId, JSONObject* requestMessageObject)
- @@ -5255,7 +5495,7 @@
- result->setValue("stepInPositions", out_stepInPositions);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_getStepInPositionsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_getStepInPositionsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_getBacktrace(long callId, JSONObject*)
- @@ -5278,7 +5518,7 @@
- result->setValue("callFrames", out_callFrames);
- }
- }
- - sendResponse(callId, result, commandNames[kDebugger_getBacktraceCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_getBacktraceCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Debugger_skipStackFrames(long callId, JSONObject* requestMessageObject)
- @@ -5303,7 +5543,7 @@
- }
- - sendResponse(callId, result, commandNames[kDebugger_skipStackFramesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDebugger_skipStackFramesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_setDOMBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5328,7 +5568,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_setDOMBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMDebugger_setDOMBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_removeDOMBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5353,7 +5593,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_removeDOMBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMDebugger_removeDOMBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_setEventListenerBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5377,7 +5617,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_setEventListenerBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMDebugger_setEventListenerBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_removeEventListenerBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5401,7 +5641,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_removeEventListenerBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMDebugger_removeEventListenerBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_setInstrumentationBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5425,7 +5665,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_setInstrumentationBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMDebugger_setInstrumentationBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_removeInstrumentationBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5449,7 +5689,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_removeInstrumentationBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMDebugger_removeInstrumentationBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_setXHRBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5473,7 +5713,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_setXHRBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMDebugger_setXHRBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::DOMDebugger_removeXHRBreakpoint(long callId, JSONObject* requestMessageObject)
- @@ -5497,7 +5737,7 @@
- }
- - sendResponse(callId, result, commandNames[kDOMDebugger_removeXHRBreakpointCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kDOMDebugger_removeXHRBreakpointCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_enable(long callId, JSONObject*)
- @@ -5516,7 +5756,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kProfiler_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_disable(long callId, JSONObject*)
- @@ -5535,7 +5775,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kProfiler_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_setSamplingInterval(long callId, JSONObject* requestMessageObject)
- @@ -5559,7 +5799,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_setSamplingIntervalCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kProfiler_setSamplingIntervalCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_start(long callId, JSONObject*)
- @@ -5578,7 +5818,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_startCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kProfiler_startCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_stop(long callId, JSONObject*)
- @@ -5601,7 +5841,7 @@
- result->setValue("header", out_header);
- }
- }
- - sendResponse(callId, result, commandNames[kProfiler_stopCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kProfiler_stopCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_getCPUProfile(long callId, JSONObject* requestMessageObject)
- @@ -5629,7 +5869,7 @@
- result->setValue("profile", out_profile);
- }
- }
- - sendResponse(callId, result, commandNames[kProfiler_getCPUProfileCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kProfiler_getCPUProfileCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_removeProfile(long callId, JSONObject* requestMessageObject)
- @@ -5654,7 +5894,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_removeProfileCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kProfiler_removeProfileCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Profiler_clearProfiles(long callId, JSONObject*)
- @@ -5673,7 +5913,7 @@
- }
- - sendResponse(callId, result, commandNames[kProfiler_clearProfilesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kProfiler_clearProfilesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_enable(long callId, JSONObject*)
- @@ -5692,7 +5932,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_disable(long callId, JSONObject*)
- @@ -5711,7 +5951,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_startTrackingHeapObjects(long callId, JSONObject*)
- @@ -5730,7 +5970,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_startTrackingHeapObjectsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_startTrackingHeapObjectsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_stopTrackingHeapObjects(long callId, JSONObject*)
- @@ -5749,7 +5989,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_stopTrackingHeapObjectsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_stopTrackingHeapObjectsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_getHeapSnapshot(long callId, JSONObject* requestMessageObject)
- @@ -5773,7 +6013,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_getHeapSnapshotCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_getHeapSnapshotCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_removeProfile(long callId, JSONObject* requestMessageObject)
- @@ -5797,7 +6037,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_removeProfileCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_removeProfileCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_clearProfiles(long callId, JSONObject*)
- @@ -5816,7 +6056,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_clearProfilesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_clearProfilesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_takeHeapSnapshot(long callId, JSONObject* requestMessageObject)
- @@ -5841,7 +6081,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_takeHeapSnapshotCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_takeHeapSnapshotCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_collectGarbage(long callId, JSONObject*)
- @@ -5860,7 +6100,7 @@
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_collectGarbageCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_collectGarbageCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_getObjectByHeapObjectId(long callId, JSONObject* requestMessageObject)
- @@ -5890,7 +6130,7 @@
- result->setValue("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_getObjectByHeapObjectIdCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_getObjectByHeapObjectIdCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::HeapProfiler_getHeapObjectId(long callId, JSONObject* requestMessageObject)
- @@ -5918,7 +6158,7 @@
- result->setString("heapSnapshotObjectId", out_heapSnapshotObjectId);
- }
- }
- - sendResponse(callId, result, commandNames[kHeapProfiler_getHeapObjectIdCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kHeapProfiler_getHeapObjectIdCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_enable(long callId, JSONObject*)
- @@ -5937,7 +6177,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kWorker_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_disable(long callId, JSONObject*)
- @@ -5956,7 +6196,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kWorker_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_sendMessageToWorker(long callId, JSONObject* requestMessageObject)
- @@ -5981,7 +6221,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_sendMessageToWorkerCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kWorker_sendMessageToWorkerCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_canInspectWorkers(long callId, JSONObject*)
- @@ -6004,7 +6244,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kWorker_canInspectWorkersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kWorker_canInspectWorkersCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_connectToWorker(long callId, JSONObject* requestMessageObject)
- @@ -6028,7 +6268,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_connectToWorkerCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kWorker_connectToWorkerCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_disconnectFromWorker(long callId, JSONObject* requestMessageObject)
- @@ -6052,7 +6292,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_disconnectFromWorkerCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kWorker_disconnectFromWorkerCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Worker_setAutoconnectToWorkers(long callId, JSONObject* requestMessageObject)
- @@ -6076,7 +6316,7 @@
- }
- - sendResponse(callId, result, commandNames[kWorker_setAutoconnectToWorkersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kWorker_setAutoconnectToWorkersCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_enable(long callId, JSONObject*)
- @@ -6095,7 +6335,7 @@
- }
- - sendResponse(callId, result, commandNames[kCanvas_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_disable(long callId, JSONObject*)
- @@ -6114,7 +6354,7 @@
- }
- - sendResponse(callId, result, commandNames[kCanvas_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_dropTraceLog(long callId, JSONObject* requestMessageObject)
- @@ -6138,7 +6378,7 @@
- }
- - sendResponse(callId, result, commandNames[kCanvas_dropTraceLogCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_dropTraceLogCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_hasUninstrumentedCanvases(long callId, JSONObject*)
- @@ -6161,7 +6401,7 @@
- result->setBoolean("result", out_result);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_hasUninstrumentedCanvasesCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_hasUninstrumentedCanvasesCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_captureFrame(long callId, JSONObject* requestMessageObject)
- @@ -6190,7 +6430,7 @@
- result->setString("traceLogId", out_traceLogId);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_captureFrameCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_captureFrameCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_startCapturing(long callId, JSONObject* requestMessageObject)
- @@ -6219,7 +6459,7 @@
- result->setString("traceLogId", out_traceLogId);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_startCapturingCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_startCapturingCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_stopCapturing(long callId, JSONObject* requestMessageObject)
- @@ -6243,7 +6483,7 @@
- }
- - sendResponse(callId, result, commandNames[kCanvas_stopCapturingCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_stopCapturingCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_getTraceLog(long callId, JSONObject* requestMessageObject)
- @@ -6275,7 +6515,7 @@
- result->setValue("traceLog", out_traceLog);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_getTraceLogCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_getTraceLogCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_replayTraceLog(long callId, JSONObject* requestMessageObject)
- @@ -6306,7 +6546,7 @@
- result->setNumber("replayTime", out_replayTime);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_replayTraceLogCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_replayTraceLogCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_getResourceState(long callId, JSONObject* requestMessageObject)
- @@ -6335,7 +6575,7 @@
- result->setValue("resourceState", out_resourceState);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_getResourceStateCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_getResourceStateCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Canvas_evaluateTraceLogCallArgument(long callId, JSONObject* requestMessageObject)
- @@ -6371,7 +6611,7 @@
- result->setValue("resourceState", out_resourceState);
- }
- }
- - sendResponse(callId, result, commandNames[kCanvas_evaluateTraceLogCallArgumentCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kCanvas_evaluateTraceLogCallArgumentCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Input_dispatchKeyEvent(long callId, JSONObject* requestMessageObject)
- @@ -6417,7 +6657,7 @@
- }
- - sendResponse(callId, result, commandNames[kInput_dispatchKeyEventCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kInput_dispatchKeyEventCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Input_dispatchMouseEvent(long callId, JSONObject* requestMessageObject)
- @@ -6453,7 +6693,7 @@
- }
- - sendResponse(callId, result, commandNames[kInput_dispatchMouseEventCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kInput_dispatchMouseEventCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Input_dispatchTouchEvent(long callId, JSONObject* requestMessageObject)
- @@ -6482,7 +6722,7 @@
- }
- - sendResponse(callId, result, commandNames[kInput_dispatchTouchEventCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kInput_dispatchTouchEventCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Input_dispatchGestureEvent(long callId, JSONObject* requestMessageObject)
- @@ -6516,7 +6756,7 @@
- }
- - sendResponse(callId, result, commandNames[kInput_dispatchGestureEventCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kInput_dispatchGestureEventCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::LayerTree_enable(long callId, JSONObject*)
- @@ -6535,7 +6775,7 @@
- }
- - sendResponse(callId, result, commandNames[kLayerTree_enableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kLayerTree_enableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::LayerTree_disable(long callId, JSONObject*)
- @@ -6554,7 +6794,7 @@
- }
- - sendResponse(callId, result, commandNames[kLayerTree_disableCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kLayerTree_disableCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::LayerTree_getLayers(long callId, JSONObject* requestMessageObject)
- @@ -6583,7 +6823,7 @@
- result->setValue("layers", out_layers);
- }
- }
- - sendResponse(callId, result, commandNames[kLayerTree_getLayersCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kLayerTree_getLayersCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::LayerTree_compositingReasons(long callId, JSONObject* requestMessageObject)
- @@ -6611,7 +6851,7 @@
- result->setValue("compositingReasons", out_compositingReasons);
- }
- }
- - sendResponse(callId, result, commandNames[kLayerTree_compositingReasonsCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kLayerTree_compositingReasonsCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Tracing_start(long callId, JSONObject* requestMessageObject)
- @@ -6635,7 +6875,7 @@
- }
- - sendResponse(callId, result, commandNames[kTracing_startCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kTracing_startCmd), protocolErrors, error, resultErrorData);
- }
- void InspectorBackendDispatcherImpl::Tracing_end(long callId, JSONObject*)
- @@ -6654,7 +6894,7 @@
- }
- - sendResponse(callId, result, commandNames[kTracing_endCmd], protocolErrors, error, resultErrorData);
- + sendResponse(callId, result, commandName(kTracing_endCmd), protocolErrors, error, resultErrorData);
- }
- @@ -6908,9 +7148,8 @@
- &InspectorBackendDispatcherImpl::Tracing_start,
- &InspectorBackendDispatcherImpl::Tracing_end,
- };
- - size_t length = WTF_ARRAY_LENGTH(commandNames);
- - for (size_t i = 0; i < length; ++i)
- - dispatchMap.add(commandNames[i], handlers[i]);
- + for (size_t i = 0; i < kMethodNamesEnumSize; ++i)
- + dispatchMap.add(commandName(static_cast<MethodNames>(i)), handlers[i]);
- }
- RefPtr<JSONValue> parsedMessage = parseJSON(message);
- @@ -7130,7 +7369,5 @@
- m_alreadySent = true;
- }
- -COMPILE_ASSERT(static_cast<int>(InspectorBackendDispatcher::kMethodNamesEnumSize) == WTF_ARRAY_LENGTH(InspectorBackendDispatcher::commandNames), command_name_array_problem);
- -
- } // namespace WebCore
Add Comment
Please, Sign In to add comment