| 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 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 } | 1095 } |
| 1096 | 1096 |
| 1097 /** | 1097 /** |
| 1098 * @return {!Set<!SDK.NetworkRequest>} | 1098 * @return {!Set<!SDK.NetworkRequest>} |
| 1099 */ | 1099 */ |
| 1100 _initiatorChain() { | 1100 _initiatorChain() { |
| 1101 if (this._initiatorChainCache) | 1101 if (this._initiatorChainCache) |
| 1102 return this._initiatorChainCache; | 1102 return this._initiatorChainCache; |
| 1103 this._initiatorChainCache = new Set(); | 1103 this._initiatorChainCache = new Set(); |
| 1104 var request = this; | 1104 var request = this; |
| 1105 while (request) { | 1105 while (request && !this._initiatorChainCache.has(request)) { |
| 1106 this._initiatorChainCache.add(request); | 1106 this._initiatorChainCache.add(request); |
| 1107 request = request.initiatorRequest(); | 1107 request = request.initiatorRequest(); |
| 1108 } | 1108 } |
| 1109 return this._initiatorChainCache; | 1109 return this._initiatorChainCache; |
| 1110 } | 1110 } |
| 1111 | 1111 |
| 1112 /** | 1112 /** |
| 1113 * @return {!Array.<!SDK.NetworkRequest.WebSocketFrame>} | 1113 * @return {!Array.<!SDK.NetworkRequest.WebSocketFrame>} |
| 1114 */ | 1114 */ |
| 1115 frames() { | 1115 frames() { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1222 }; | 1222 }; |
| 1223 | 1223 |
| 1224 /** @typedef {!{type: SDK.NetworkRequest.WebSocketFrameType, time: number, text:
string, opCode: number, mask: boolean}} */ | 1224 /** @typedef {!{type: SDK.NetworkRequest.WebSocketFrameType, time: number, text:
string, opCode: number, mask: boolean}} */ |
| 1225 SDK.NetworkRequest.WebSocketFrame; | 1225 SDK.NetworkRequest.WebSocketFrame; |
| 1226 | 1226 |
| 1227 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}}
*/ | 1227 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}}
*/ |
| 1228 SDK.NetworkRequest.EventSourceMessage; | 1228 SDK.NetworkRequest.EventSourceMessage; |
| 1229 | 1229 |
| 1230 /** @typedef {!{initiators: !Set<!SDK.NetworkRequest>, initiated: !Set<!SDK.Netw
orkRequest>}} */ | 1230 /** @typedef {!{initiators: !Set<!SDK.NetworkRequest>, initiated: !Set<!SDK.Netw
orkRequest>}} */ |
| 1231 SDK.NetworkRequest.InitiatorGraph; | 1231 SDK.NetworkRequest.InitiatorGraph; |
| OLD | NEW |