| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 static PerformanceResourceTiming* create(const ResourceTimingInfo& info, | 59 static PerformanceResourceTiming* create(const ResourceTimingInfo& info, |
| 60 double timeOrigin, | 60 double timeOrigin, |
| 61 double startTime, | 61 double startTime, |
| 62 bool allowTimingDetails) { | 62 bool allowTimingDetails) { |
| 63 return new PerformanceResourceTiming(info, timeOrigin, startTime, 0.0, | 63 return new PerformanceResourceTiming(info, timeOrigin, startTime, 0.0, |
| 64 allowTimingDetails, false); | 64 allowTimingDetails, false); |
| 65 } | 65 } |
| 66 | 66 |
| 67 AtomicString initiatorType() const; | 67 AtomicString initiatorType() const; |
| 68 | 68 |
| 69 AtomicString nextHopProtocol() const; |
| 69 double workerStart() const; | 70 double workerStart() const; |
| 70 double redirectStart() const; | 71 double redirectStart() const; |
| 71 double redirectEnd() const; | 72 double redirectEnd() const; |
| 72 double fetchStart() const; | 73 double fetchStart() const; |
| 73 double domainLookupStart() const; | 74 double domainLookupStart() const; |
| 74 double domainLookupEnd() const; | 75 double domainLookupEnd() const; |
| 75 double connectStart() const; | 76 double connectStart() const; |
| 76 double connectEnd() const; | 77 double connectEnd() const; |
| 77 double secureConnectionStart() const; | 78 double secureConnectionStart() const; |
| 78 double requestStart() const; | 79 double requestStart() const; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 90 double timeOrigin, | 91 double timeOrigin, |
| 91 double startTime, | 92 double startTime, |
| 92 double lastRedirectEndTime, | 93 double lastRedirectEndTime, |
| 93 bool m_allowTimingDetails, | 94 bool m_allowTimingDetails, |
| 94 bool m_allowRedirectDetails); | 95 bool m_allowRedirectDetails); |
| 95 ~PerformanceResourceTiming() override; | 96 ~PerformanceResourceTiming() override; |
| 96 | 97 |
| 97 double workerReady() const; | 98 double workerReady() const; |
| 98 | 99 |
| 99 AtomicString m_initiatorType; | 100 AtomicString m_initiatorType; |
| 101 AtomicString m_nextHopProtocol; |
| 100 double m_timeOrigin; | 102 double m_timeOrigin; |
| 101 RefPtr<ResourceLoadTiming> m_timing; | 103 RefPtr<ResourceLoadTiming> m_timing; |
| 102 double m_lastRedirectEndTime; | 104 double m_lastRedirectEndTime; |
| 103 double m_finishTime; | 105 double m_finishTime; |
| 104 unsigned long long m_transferSize; | 106 unsigned long long m_transferSize; |
| 105 unsigned long long m_encodedBodySize; | 107 unsigned long long m_encodedBodySize; |
| 106 unsigned long long m_decodedBodySize; | 108 unsigned long long m_decodedBodySize; |
| 107 bool m_didReuseConnection; | 109 bool m_didReuseConnection; |
| 108 bool m_allowTimingDetails; | 110 bool m_allowTimingDetails; |
| 109 bool m_allowRedirectDetails; | 111 bool m_allowRedirectDetails; |
| 110 }; | 112 }; |
| 111 | 113 |
| 112 } // namespace blink | 114 } // namespace blink |
| 113 | 115 |
| 114 #endif // PerformanceResourceTiming_h | 116 #endif // PerformanceResourceTiming_h |
| OLD | NEW |