| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 this._remoteAddress = ""; | 86 this._remoteAddress = ""; |
| 87 | 87 |
| 88 /** @type {!SecurityAgent.SecurityState} */ | 88 /** @type {!SecurityAgent.SecurityState} */ |
| 89 this._securityState = SecurityAgent.SecurityState.Unknown; | 89 this._securityState = SecurityAgent.SecurityState.Unknown; |
| 90 /** @type {?NetworkAgent.SecurityDetails} */ | 90 /** @type {?NetworkAgent.SecurityDetails} */ |
| 91 this._securityDetails = null; | 91 this._securityDetails = null; |
| 92 | 92 |
| 93 /** @type {string} */ | 93 /** @type {string} */ |
| 94 this.connectionId = "0"; | 94 this.connectionId = "0"; |
| 95 } | 95 }; |
| 96 | 96 |
| 97 /** @enum {symbol} */ | 97 /** @enum {symbol} */ |
| 98 WebInspector.NetworkRequest.Events = { | 98 WebInspector.NetworkRequest.Events = { |
| 99 FinishedLoading: Symbol("FinishedLoading"), | 99 FinishedLoading: Symbol("FinishedLoading"), |
| 100 TimingChanged: Symbol("TimingChanged"), | 100 TimingChanged: Symbol("TimingChanged"), |
| 101 RemoteAddressChanged: Symbol("RemoteAddressChanged"), | 101 RemoteAddressChanged: Symbol("RemoteAddressChanged"), |
| 102 RequestHeadersChanged: Symbol("RequestHeadersChanged"), | 102 RequestHeadersChanged: Symbol("RequestHeadersChanged"), |
| 103 ResponseHeadersChanged: Symbol("ResponseHeadersChanged"), | 103 ResponseHeadersChanged: Symbol("ResponseHeadersChanged"), |
| 104 WebsocketFrameAdded: Symbol("WebsocketFrameAdded"), | 104 WebsocketFrameAdded: Symbol("WebsocketFrameAdded"), |
| 105 EventSourceMessageAdded: Symbol("EventSourceMessageAdded") | 105 EventSourceMessageAdded: Symbol("EventSourceMessageAdded") |
| 106 } | 106 }; |
| 107 | 107 |
| 108 /** @enum {string} */ | 108 /** @enum {string} */ |
| 109 WebInspector.NetworkRequest.InitiatorType = { | 109 WebInspector.NetworkRequest.InitiatorType = { |
| 110 Other: "other", | 110 Other: "other", |
| 111 Parser: "parser", | 111 Parser: "parser", |
| 112 Redirect: "redirect", | 112 Redirect: "redirect", |
| 113 Script: "script" | 113 Script: "script" |
| 114 } | 114 }; |
| 115 | 115 |
| 116 /** @typedef {!{name: string, value: string}} */ | 116 /** @typedef {!{name: string, value: string}} */ |
| 117 WebInspector.NetworkRequest.NameValue; | 117 WebInspector.NetworkRequest.NameValue; |
| 118 | 118 |
| 119 /** @enum {string} */ | 119 /** @enum {string} */ |
| 120 WebInspector.NetworkRequest.WebSocketFrameType = { | 120 WebInspector.NetworkRequest.WebSocketFrameType = { |
| 121 Send: "send", | 121 Send: "send", |
| 122 Receive: "receive", | 122 Receive: "receive", |
| 123 Error: "error" | 123 Error: "error" |
| 124 } | 124 }; |
| 125 | 125 |
| 126 /** @typedef {!{type: WebInspector.NetworkRequest.WebSocketFrameType, time: numb
er, text: string, opCode: number, mask: boolean}} */ | 126 /** @typedef {!{type: WebInspector.NetworkRequest.WebSocketFrameType, time: numb
er, text: string, opCode: number, mask: boolean}} */ |
| 127 WebInspector.NetworkRequest.WebSocketFrame; | 127 WebInspector.NetworkRequest.WebSocketFrame; |
| 128 | 128 |
| 129 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}}
*/ | 129 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}}
*/ |
| 130 WebInspector.NetworkRequest.EventSourceMessage; | 130 WebInspector.NetworkRequest.EventSourceMessage; |
| 131 | 131 |
| 132 WebInspector.NetworkRequest.prototype = { | 132 WebInspector.NetworkRequest.prototype = { |
| 133 /** | 133 /** |
| 134 * @param {!WebInspector.NetworkRequest} other | 134 * @param {!WebInspector.NetworkRequest} other |
| (...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1261 | 1261 |
| 1262 /** | 1262 /** |
| 1263 * @return {!WebInspector.NetworkManager} | 1263 * @return {!WebInspector.NetworkManager} |
| 1264 */ | 1264 */ |
| 1265 networkManager: function() | 1265 networkManager: function() |
| 1266 { | 1266 { |
| 1267 return this._networkManager; | 1267 return this._networkManager; |
| 1268 }, | 1268 }, |
| 1269 | 1269 |
| 1270 __proto__: WebInspector.SDKObject.prototype | 1270 __proto__: WebInspector.SDKObject.prototype |
| 1271 } | 1271 }; |
| OLD | NEW |