Commit 741bf3b6 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Remove unused code.

Review URL: http://codereview.chromium.org/17410

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1044 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f3da5ff6
......@@ -958,40 +958,6 @@ DebugCommandProcessor.prototype.responseIsRunning = function (response) {
}
function RequestPacket(command) {
this.seq = 0;
this.type = 'request';
this.command = command;
}
RequestPacket.prototype.toJSONProtocol = function() {
// Encode the protocol header.
var json = '{';
json += '"seq":' + this.seq;
json += ',"type":"' + this.type + '"';
if (this.command) {
json += ',"command":' + StringToJSON_(this.command);
}
if (this.arguments) {
json += ',"arguments":';
// Encode the arguments part.
if (this.arguments.toJSONProtocol) {
json += this.arguments.toJSONProtocol()
} else {
json += SimpleObjectToJSON_(this.arguments);
}
}
json += '}';
return json;
}
DebugCommandProcessor.prototype.createRequest = function(command) {
return new RequestPacket(command);
};
function ResponsePacket(request) {
// Build the initial response from the request.
this.seq = next_response_seq++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment