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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 double redirectEnd() const; | 61 double redirectEnd() const; |
62 double fetchStart() const; | 62 double fetchStart() const; |
63 double domainLookupStart() const; | 63 double domainLookupStart() const; |
64 double domainLookupEnd() const; | 64 double domainLookupEnd() const; |
65 double connectStart() const; | 65 double connectStart() const; |
66 double connectEnd() const; | 66 double connectEnd() const; |
67 double secureConnectionStart() const; | 67 double secureConnectionStart() const; |
68 double requestStart() const; | 68 double requestStart() const; |
69 double responseStart() const; | 69 double responseStart() const; |
70 double responseEnd() const; | 70 double responseEnd() const; |
| 71 unsigned long long transferSize() const; |
| 72 unsigned long long encodedBodySize() const; |
| 73 unsigned long long decodedBodySize() const; |
71 | 74 |
72 protected: | 75 protected: |
73 void buildJSONValue(V8ObjectBuilder&) const override; | 76 void buildJSONValue(V8ObjectBuilder&) const override; |
74 | 77 |
75 private: | 78 private: |
76 PerformanceResourceTiming(const ResourceTimingInfo&, double timeOrigin, doub
le startTime, double lastRedirectEndTime, bool m_allowTimingDetails, bool m_allo
wRedirectDetails); | 79 PerformanceResourceTiming(const ResourceTimingInfo&, double timeOrigin, doub
le startTime, double lastRedirectEndTime, bool m_allowTimingDetails, bool m_allo
wRedirectDetails); |
77 ~PerformanceResourceTiming() override; | 80 ~PerformanceResourceTiming() override; |
78 | 81 |
79 double workerReady() const; | 82 double workerReady() const; |
80 | 83 |
81 AtomicString m_initiatorType; | 84 AtomicString m_initiatorType; |
82 double m_timeOrigin; | 85 double m_timeOrigin; |
83 RefPtr<ResourceLoadTiming> m_timing; | 86 RefPtr<ResourceLoadTiming> m_timing; |
84 double m_lastRedirectEndTime; | 87 double m_lastRedirectEndTime; |
85 double m_finishTime; | 88 double m_finishTime; |
| 89 unsigned long long m_transferSize; |
| 90 unsigned long long m_encodedBodySize; |
| 91 unsigned long long m_decodedBodySize; |
86 bool m_didReuseConnection; | 92 bool m_didReuseConnection; |
87 bool m_allowTimingDetails; | 93 bool m_allowTimingDetails; |
88 bool m_allowRedirectDetails; | 94 bool m_allowRedirectDetails; |
89 }; | 95 }; |
90 | 96 |
91 } // namespace blink | 97 } // namespace blink |
92 | 98 |
93 #endif // PerformanceResourceTiming_h | 99 #endif // PerformanceResourceTiming_h |
OLD | NEW |