| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * Copyright (C) 2011 Google Inc. All rights reserved. | 4 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 | 956 |
| 957 /** | 957 /** |
| 958 * @param {!SDK.NetworkRequest} request | 958 * @param {!SDK.NetworkRequest} request |
| 959 */ | 959 */ |
| 960 _createNodeForRequest(request) { | 960 _createNodeForRequest(request) { |
| 961 var node = new Network.NetworkRequestNode(this, request); | 961 var node = new Network.NetworkRequestNode(this, request); |
| 962 request[Network.NetworkLogView._networkNodeSymbol] = node; | 962 request[Network.NetworkLogView._networkNodeSymbol] = node; |
| 963 node[Network.NetworkLogView._isFilteredOutSymbol] = true; | 963 node[Network.NetworkLogView._isFilteredOutSymbol] = true; |
| 964 node[Network.NetworkLogView._isMatchingSearchQuerySymbol] = false; | 964 node[Network.NetworkLogView._isMatchingSearchQuerySymbol] = false; |
| 965 | 965 |
| 966 if (request.redirects) | 966 for (var redirect = request.redirectSource(); redirect; redirect = redirect.
redirectSource()) |
| 967 request.redirects.forEach(this._refreshRequest.bind(this)); | 967 this._refreshRequest(redirect); |
| 968 return node; | 968 return node; |
| 969 } | 969 } |
| 970 | 970 |
| 971 /** | 971 /** |
| 972 * @param {!Common.Event} event | 972 * @param {!Common.Event} event |
| 973 */ | 973 */ |
| 974 _onRequestUpdated(event) { | 974 _onRequestUpdated(event) { |
| 975 var request = /** @type {!SDK.NetworkRequest} */ (event.data); | 975 var request = /** @type {!SDK.NetworkRequest} */ (event.data); |
| 976 this._refreshRequest(request); | 976 this._refreshRequest(request); |
| 977 } | 977 } |
| (...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1758 | 1758 |
| 1759 Network.GroupLookupInterface.prototype = { | 1759 Network.GroupLookupInterface.prototype = { |
| 1760 /** | 1760 /** |
| 1761 * @param {!SDK.NetworkRequest} request | 1761 * @param {!SDK.NetworkRequest} request |
| 1762 * @return {?Network.NetworkGroupNode} | 1762 * @return {?Network.NetworkGroupNode} |
| 1763 */ | 1763 */ |
| 1764 groupNodeForRequest: function(request) {}, | 1764 groupNodeForRequest: function(request) {}, |
| 1765 | 1765 |
| 1766 reset: function() {} | 1766 reset: function() {} |
| 1767 }; | 1767 }; |
| OLD | NEW |