| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 WebInspector.NetworkRequest.WebSocketFrame; | 110 WebInspector.NetworkRequest.WebSocketFrame; |
| 111 | 111 |
| 112 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}}
*/ | 112 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}}
*/ |
| 113 WebInspector.NetworkRequest.EventSourceMessage; | 113 WebInspector.NetworkRequest.EventSourceMessage; |
| 114 | 114 |
| 115 WebInspector.NetworkRequest.prototype = { | 115 WebInspector.NetworkRequest.prototype = { |
| 116 /** | 116 /** |
| 117 * @param {!WebInspector.NetworkRequest} other | 117 * @param {!WebInspector.NetworkRequest} other |
| 118 * @return {number} | 118 * @return {number} |
| 119 */ | 119 */ |
| 120 indentityCompare: function(other) { | 120 indentityCompare: function(other) |
| 121 { |
| 121 if (this._requestId > other._requestId) | 122 if (this._requestId > other._requestId) |
| 122 return 1; | 123 return 1; |
| 123 if (this._requestId < other._requestId) | 124 if (this._requestId < other._requestId) |
| 124 return -1; | 125 return -1; |
| 125 return 0; | 126 return 0; |
| 126 }, | 127 }, |
| 127 | 128 |
| 128 /** | 129 /** |
| 129 * @return {!NetworkAgent.RequestId} | 130 * @return {!NetworkAgent.RequestId} |
| 130 */ | 131 */ |
| (...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1071 this.dispatchEventToListeners(WebInspector.NetworkRequest.Events.EventSo
urceMessageAdded, message); | 1072 this.dispatchEventToListeners(WebInspector.NetworkRequest.Events.EventSo
urceMessageAdded, message); |
| 1072 }, | 1073 }, |
| 1073 | 1074 |
| 1074 replayXHR: function() | 1075 replayXHR: function() |
| 1075 { | 1076 { |
| 1076 this.target().networkAgent().replayXHR(this.requestId); | 1077 this.target().networkAgent().replayXHR(this.requestId); |
| 1077 }, | 1078 }, |
| 1078 | 1079 |
| 1079 __proto__: WebInspector.SDKObject.prototype | 1080 __proto__: WebInspector.SDKObject.prototype |
| 1080 } | 1081 } |
| OLD | NEW |