| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 WebURL WebDataSourceImpl::unreachableURL() const | 68 WebURL WebDataSourceImpl::unreachableURL() const |
| 69 { | 69 { |
| 70 return DocumentLoader::unreachableURL(); | 70 return DocumentLoader::unreachableURL(); |
| 71 } | 71 } |
| 72 | 72 |
| 73 void WebDataSourceImpl::appendRedirect(const WebURL& url) | 73 void WebDataSourceImpl::appendRedirect(const WebURL& url) |
| 74 { | 74 { |
| 75 DocumentLoader::appendRedirect(url); | 75 DocumentLoader::appendRedirect(url); |
| 76 } | 76 } |
| 77 | 77 |
| 78 void WebDataSourceImpl::updateNavigationTimings(double redirectStartTime, double
redirectEndTime, double fetchStartTime, const WebVector<WebURL>& redirectChain) | 78 void WebDataSourceImpl::updateNavigation(double redirectStartTime, double redire
ctEndTime, double fetchStartTime, const WebVector<WebURL>& redirectChain) |
| 79 { | 79 { |
| 80 for (size_t i = 0; i + 1 < redirectChain.size(); ++i) | 80 for (size_t i = 0; i + 1 < redirectChain.size(); ++i) |
| 81 timing().addRedirect(redirectChain[i], redirectChain[i + 1]); | 81 addExternalRedirect(redirectChain[i], redirectChain[i + 1]); |
| 82 timing().setRedirectStart(redirectStartTime); | 82 timing().setRedirectStart(redirectStartTime); |
| 83 timing().setRedirectEnd(redirectEndTime); | 83 timing().setRedirectEnd(redirectEndTime); |
| 84 timing().setFetchStart(fetchStartTime); | 84 timing().setFetchStart(fetchStartTime); |
| 85 } | 85 } |
| 86 | 86 |
| 87 void WebDataSourceImpl::redirectChain(WebVector<WebURL>& result) const | 87 void WebDataSourceImpl::redirectChain(WebVector<WebURL>& result) const |
| 88 { | 88 { |
| 89 result.assign(m_redirectChain); | 89 result.assign(m_redirectChain); |
| 90 } | 90 } |
| 91 | 91 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 { | 163 { |
| 164 DocumentLoader::setSubresourceFilter(WTF::wrapUnique(subresourceFilter)); | 164 DocumentLoader::setSubresourceFilter(WTF::wrapUnique(subresourceFilter)); |
| 165 } | 165 } |
| 166 | 166 |
| 167 DEFINE_TRACE(WebDataSourceImpl) | 167 DEFINE_TRACE(WebDataSourceImpl) |
| 168 { | 168 { |
| 169 DocumentLoader::trace(visitor); | 169 DocumentLoader::trace(visitor); |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace blink | 172 } // namespace blink |
| OLD | NEW |