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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 double domainLookupEnd() const; | 65 double domainLookupEnd() const; |
66 double connectStart() const; | 66 double connectStart() const; |
67 double connectEnd() const; | 67 double connectEnd() const; |
68 double secureConnectionStart() const; | 68 double secureConnectionStart() const; |
69 double requestStart() const; | 69 double requestStart() const; |
70 double responseStart() const; | 70 double responseStart() const; |
71 double responseEnd() const; | 71 double responseEnd() const; |
72 | 72 |
73 virtual bool isResource() override { return true; } | 73 virtual bool isResource() override { return true; } |
74 | 74 |
75 virtual void trace(Visitor*) override; | 75 DECLARE_VIRTUAL_TRACE(); |
76 | 76 |
77 private: | 77 private: |
78 PerformanceResourceTiming(const ResourceTimingInfo&, Document* requestingDoc
ument, double startTime, double lastRedirectEndTime, bool m_allowTimingDetails,
bool m_allowRedirectDetails); | 78 PerformanceResourceTiming(const ResourceTimingInfo&, Document* requestingDoc
ument, double startTime, double lastRedirectEndTime, bool m_allowTimingDetails,
bool m_allowRedirectDetails); |
79 virtual ~PerformanceResourceTiming(); | 79 virtual ~PerformanceResourceTiming(); |
80 | 80 |
81 AtomicString m_initiatorType; | 81 AtomicString m_initiatorType; |
82 RefPtr<ResourceLoadTiming> m_timing; | 82 RefPtr<ResourceLoadTiming> m_timing; |
83 double m_lastRedirectEndTime; | 83 double m_lastRedirectEndTime; |
84 double m_finishTime; | 84 double m_finishTime; |
85 bool m_didReuseConnection; | 85 bool m_didReuseConnection; |
86 bool m_allowTimingDetails; | 86 bool m_allowTimingDetails; |
87 bool m_allowRedirectDetails; | 87 bool m_allowRedirectDetails; |
88 RefPtrWillBeMember<Document> m_requestingDocument; | 88 RefPtrWillBeMember<Document> m_requestingDocument; |
89 }; | 89 }; |
90 | 90 |
91 } // namespace blink | 91 } // namespace blink |
92 | 92 |
93 #endif // PerformanceResourceTiming_h | 93 #endif // PerformanceResourceTiming_h |
OLD | NEW |