Author: [email protected]
Date: Thu Jan 8 02:40:09 2009
New Revision: 1044
Modified:
branches/bleeding_edge/src/debug-delay.js
Log:
Remove unused code.
Review URL: http://codereview.chromium.org/17410
Modified: branches/bleeding_edge/src/debug-delay.js
==============================================================================
--- branches/bleeding_edge/src/debug-delay.js (original)
+++ branches/bleeding_edge/src/debug-delay.js Thu Jan 8 02:40:09 2009
@@ -958,40 +958,6 @@
}
-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++;
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---