Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html

Issue 2516563003: [DevTools] Remove InspectorBackendHostedMode. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/inspector-backend-commands-generation.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5f8f31eab221027534a0760473c8926b6cb1eac9..8fb87e4caf6f634163d22a8f02e41b9b464ddf0b 100644
--- a/third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html
+++ b/third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html
@@ -65,8 +65,13 @@ function test()
]
}]
}]};
- var commands = SDK.InspectorBackendHostedMode.generateCommands(inspectorJson);
- eval(commands);
+ // 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",
+ [{"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);
var sendMessageToBackendOriginal = InspectorFrontendHost.sendMessageToBackend;
InspectorFrontendHost.sendMessageToBackend = sendMessageToBackendLoopback;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/inspector-backend-commands-generation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698