| Index: third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html b/third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html
|
| index 8fb87e4caf6f634163d22a8f02e41b9b464ddf0b..0ee46a25aaa9c2fd14cb467ecda49fdd8689a723 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html
|
| @@ -66,12 +66,12 @@ function test()
|
| }]
|
| }]};
|
| // The protocol definition above is not used, but is left as a reference for commands below.
|
| - InspectorBackend.registerCommand("Profiler.commandArgs0", [], [], false);
|
| - InspectorBackend.registerCommand("Profiler.commandArgs1Rets0", [{"name": "arg1", "type": "number", "optional": false}], [], false);
|
| - InspectorBackend.registerCommand("Profiler.commandArgs1Rets1", [{"name": "arg1", "type": "object", "optional": false}], ["arg1"], false);
|
| - InspectorBackend.registerCommand("Profiler.commandArgs3Rets3",
|
| + Protocol.inspectorBackend.registerCommand("Profiler.commandArgs0", [], [], false);
|
| + Protocol.inspectorBackend.registerCommand("Profiler.commandArgs1Rets0", [{"name": "arg1", "type": "number", "optional": false}], [], false);
|
| + Protocol.inspectorBackend.registerCommand("Profiler.commandArgs1Rets1", [{"name": "arg1", "type": "object", "optional": false}], ["arg1"], false);
|
| + Protocol.inspectorBackend.registerCommand("Profiler.commandArgs3Rets3",
|
| [{"name": "arg1", "type": "object", "optional": false}, {"name": "arg2", "type": "number", "optional": true}, {"name": "arg3", "type": "string", "optional": true}], ["arg1", "arg2", "arg3"], false);
|
| - InspectorBackend.registerCommand("Profiler.commandError", [{"name": "error", "type": "object", "optional": false}], [], false);
|
| + Protocol.inspectorBackend.registerCommand("Profiler.commandError", [{"name": "error", "type": "object", "optional": false}], [], false);
|
|
|
| var sendMessageToBackendOriginal = InspectorFrontendHost.sendMessageToBackend;
|
| InspectorFrontendHost.sendMessageToBackend = sendMessageToBackendLoopback;
|
|
|