| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 *securityOrigin, context); | 382 *securityOrigin, context); |
| 383 | 383 |
| 384 unsigned long long transferSize = navigationTimingInfo->transferSize(); | 384 unsigned long long transferSize = navigationTimingInfo->transferSize(); |
| 385 unsigned long long encodedBodyLength = finalResponse.encodedBodyLength(); | 385 unsigned long long encodedBodyLength = finalResponse.encodedBodyLength(); |
| 386 unsigned long long decodedBodyLength = finalResponse.decodedBodyLength(); | 386 unsigned long long decodedBodyLength = finalResponse.decodedBodyLength(); |
| 387 bool didReuseConnection = finalResponse.connectionReused(); | 387 bool didReuseConnection = finalResponse.connectionReused(); |
| 388 PerformanceNavigationTiming::NavigationType type = | 388 PerformanceNavigationTiming::NavigationType type = |
| 389 getNavigationType(documentLoader->getNavigationType(), frame->document()); | 389 getNavigationType(documentLoader->getNavigationType(), frame->document()); |
| 390 | 390 |
| 391 m_navigationTiming = new PerformanceNavigationTiming( | 391 m_navigationTiming = new PerformanceNavigationTiming( |
| 392 timeOrigin(), documentLoadTiming.unloadEventStart(), | 392 timeOrigin(), navigationTimingInfo->initialURL().getString(), |
| 393 documentLoadTiming.unloadEventStart(), |
| 393 documentLoadTiming.unloadEventEnd(), documentLoadTiming.loadEventStart(), | 394 documentLoadTiming.unloadEventEnd(), documentLoadTiming.loadEventStart(), |
| 394 documentLoadTiming.loadEventEnd(), documentLoadTiming.redirectCount(), | 395 documentLoadTiming.loadEventEnd(), documentLoadTiming.redirectCount(), |
| 395 documentTiming ? documentTiming->domInteractive() : 0, | 396 documentTiming ? documentTiming->domInteractive() : 0, |
| 396 documentTiming ? documentTiming->domContentLoadedEventStart() : 0, | 397 documentTiming ? documentTiming->domContentLoadedEventStart() : 0, |
| 397 documentTiming ? documentTiming->domContentLoadedEventEnd() : 0, | 398 documentTiming ? documentTiming->domContentLoadedEventEnd() : 0, |
| 398 documentTiming ? documentTiming->domComplete() : 0, type, | 399 documentTiming ? documentTiming->domComplete() : 0, type, |
| 399 documentLoadTiming.redirectStart(), documentLoadTiming.redirectEnd(), | 400 documentLoadTiming.redirectStart(), documentLoadTiming.redirectEnd(), |
| 400 documentLoadTiming.fetchStart(), documentLoadTiming.responseEnd(), | 401 documentLoadTiming.fetchStart(), documentLoadTiming.responseEnd(), |
| 401 allowRedirectDetails, | 402 allowRedirectDetails, |
| 402 documentLoadTiming.hasSameOriginAsPreviousDocument(), resourceLoadTiming, | 403 documentLoadTiming.hasSameOriginAsPreviousDocument(), resourceLoadTiming, |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 visitor->trace(m_resourceTimingBuffer); | 601 visitor->trace(m_resourceTimingBuffer); |
| 601 visitor->trace(m_navigationTiming); | 602 visitor->trace(m_navigationTiming); |
| 602 visitor->trace(m_userTiming); | 603 visitor->trace(m_userTiming); |
| 603 visitor->trace(m_observers); | 604 visitor->trace(m_observers); |
| 604 visitor->trace(m_activeObservers); | 605 visitor->trace(m_activeObservers); |
| 605 visitor->trace(m_suspendedObservers); | 606 visitor->trace(m_suspendedObservers); |
| 606 EventTargetWithInlineData::trace(visitor); | 607 EventTargetWithInlineData::trace(visitor); |
| 607 } | 608 } |
| 608 | 609 |
| 609 } // namespace blink | 610 } // namespace blink |
| OLD | NEW |