| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 this._pendingContentCallbacks = []; | 78 this._pendingContentCallbacks = []; |
| 79 /** @type {!Array.<!SDK.NetworkRequest.WebSocketFrame>} */ | 79 /** @type {!Array.<!SDK.NetworkRequest.WebSocketFrame>} */ |
| 80 this._frames = []; | 80 this._frames = []; |
| 81 /** @type {!Array.<!SDK.NetworkRequest.EventSourceMessage>} */ | 81 /** @type {!Array.<!SDK.NetworkRequest.EventSourceMessage>} */ |
| 82 this._eventSourceMessages = []; | 82 this._eventSourceMessages = []; |
| 83 | 83 |
| 84 this._responseHeaderValues = {}; | 84 this._responseHeaderValues = {}; |
| 85 | 85 |
| 86 this._remoteAddress = ''; | 86 this._remoteAddress = ''; |
| 87 | 87 |
| 88 /** @type {?Protocol.Network.RequestReferrerPolicy} */ |
| 89 this._referrerPolicy = null; |
| 90 |
| 88 /** @type {!Protocol.Security.SecurityState} */ | 91 /** @type {!Protocol.Security.SecurityState} */ |
| 89 this._securityState = Protocol.Security.SecurityState.Unknown; | 92 this._securityState = Protocol.Security.SecurityState.Unknown; |
| 90 /** @type {?Protocol.Network.SecurityDetails} */ | 93 /** @type {?Protocol.Network.SecurityDetails} */ |
| 91 this._securityDetails = null; | 94 this._securityDetails = null; |
| 92 | 95 |
| 93 /** @type {string} */ | 96 /** @type {string} */ |
| 94 this.connectionId = '0'; | 97 this.connectionId = '0'; |
| 95 } | 98 } |
| 96 | 99 |
| 97 /** | 100 /** |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 } | 180 } |
| 178 | 181 |
| 179 /** | 182 /** |
| 180 * @return {string} | 183 * @return {string} |
| 181 */ | 184 */ |
| 182 remoteAddress() { | 185 remoteAddress() { |
| 183 return this._remoteAddress; | 186 return this._remoteAddress; |
| 184 } | 187 } |
| 185 | 188 |
| 186 /** | 189 /** |
| 190 * @param {!Protocol.Network.RequestReferrerPolicy} referrerPolicy |
| 191 */ |
| 192 setReferrerPolicy(referrerPolicy) { |
| 193 this._referrerPolicy = referrerPolicy; |
| 194 } |
| 195 |
| 196 /** |
| 197 * @return {?Protocol.Network.RequestReferrerPolicy} |
| 198 */ |
| 199 referrerPolicy() { |
| 200 return this._referrerPolicy; |
| 201 } |
| 202 |
| 203 /** |
| 187 * @return {!Protocol.Security.SecurityState} | 204 * @return {!Protocol.Security.SecurityState} |
| 188 */ | 205 */ |
| 189 securityState() { | 206 securityState() { |
| 190 return this._securityState; | 207 return this._securityState; |
| 191 } | 208 } |
| 192 | 209 |
| 193 /** | 210 /** |
| 194 * @param {!Protocol.Security.SecurityState} securityState | 211 * @param {!Protocol.Security.SecurityState} securityState |
| 195 */ | 212 */ |
| 196 setSecurityState(securityState) { | 213 setSecurityState(securityState) { |
| (...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1222 }; | 1239 }; |
| 1223 | 1240 |
| 1224 /** @typedef {!{type: SDK.NetworkRequest.WebSocketFrameType, time: number, text:
string, opCode: number, mask: boolean}} */ | 1241 /** @typedef {!{type: SDK.NetworkRequest.WebSocketFrameType, time: number, text:
string, opCode: number, mask: boolean}} */ |
| 1225 SDK.NetworkRequest.WebSocketFrame; | 1242 SDK.NetworkRequest.WebSocketFrame; |
| 1226 | 1243 |
| 1227 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}}
*/ | 1244 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}}
*/ |
| 1228 SDK.NetworkRequest.EventSourceMessage; | 1245 SDK.NetworkRequest.EventSourceMessage; |
| 1229 | 1246 |
| 1230 /** @typedef {!{initiators: !Set<!SDK.NetworkRequest>, initiated: !Set<!SDK.Netw
orkRequest>}} */ | 1247 /** @typedef {!{initiators: !Set<!SDK.NetworkRequest>, initiated: !Set<!SDK.Netw
orkRequest>}} */ |
| 1231 SDK.NetworkRequest.InitiatorGraph; | 1248 SDK.NetworkRequest.InitiatorGraph; |
| OLD | NEW |