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 29 matching lines...) Expand all Loading... |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class Document; | 42 class Document; |
43 class KURL; | 43 class KURL; |
44 class ResourceLoadTiming; | 44 class ResourceLoadTiming; |
45 class ResourceRequest; | 45 class ResourceRequest; |
46 class ResourceResponse; | 46 class ResourceResponse; |
47 class ResourceTimingInfo; | 47 class ResourceTimingInfo; |
48 | 48 |
49 class PerformanceResourceTiming FINAL : public PerformanceEntry { | 49 class PerformanceResourceTiming FINAL : public PerformanceEntry { |
| 50 DEFINE_WRAPPERTYPEINFO(); |
50 public: | 51 public: |
51 static PassRefPtrWillBeRawPtr<PerformanceResourceTiming> create(const Resour
ceTimingInfo& info, Document* requestingDocument, double startTime, double lastR
edirectEndTime, bool m_allowTimingDetails, bool m_allowRedirectDetails) | 52 static PassRefPtrWillBeRawPtr<PerformanceResourceTiming> create(const Resour
ceTimingInfo& info, Document* requestingDocument, double startTime, double lastR
edirectEndTime, bool m_allowTimingDetails, bool m_allowRedirectDetails) |
52 { | 53 { |
53 return adoptRefWillBeNoop(new PerformanceResourceTiming(info, requesting
Document, startTime, lastRedirectEndTime, m_allowTimingDetails, m_allowRedirectD
etails)); | 54 return adoptRefWillBeNoop(new PerformanceResourceTiming(info, requesting
Document, startTime, lastRedirectEndTime, m_allowTimingDetails, m_allowRedirectD
etails)); |
54 } | 55 } |
55 | 56 |
56 static PassRefPtrWillBeRawPtr<PerformanceResourceTiming> create(const Resour
ceTimingInfo& info, Document* requestingDocument, double startTime, bool m_allow
TimingDetails) | 57 static PassRefPtrWillBeRawPtr<PerformanceResourceTiming> create(const Resour
ceTimingInfo& info, Document* requestingDocument, double startTime, bool m_allow
TimingDetails) |
57 { | 58 { |
58 return adoptRefWillBeNoop(new PerformanceResourceTiming(info, requesting
Document, startTime, 0.0, m_allowTimingDetails, false)); | 59 return adoptRefWillBeNoop(new PerformanceResourceTiming(info, requesting
Document, startTime, 0.0, m_allowTimingDetails, false)); |
59 } | 60 } |
(...skipping 23 matching lines...) Expand all Loading... |
83 AtomicString m_initiatorType; | 84 AtomicString m_initiatorType; |
84 RefPtr<ResourceLoadTiming> m_timing; | 85 RefPtr<ResourceLoadTiming> m_timing; |
85 double m_lastRedirectEndTime; | 86 double m_lastRedirectEndTime; |
86 double m_finishTime; | 87 double m_finishTime; |
87 bool m_didReuseConnection; | 88 bool m_didReuseConnection; |
88 bool m_allowTimingDetails; | 89 bool m_allowTimingDetails; |
89 bool m_allowRedirectDetails; | 90 bool m_allowRedirectDetails; |
90 RefPtrWillBeMember<Document> m_requestingDocument; | 91 RefPtrWillBeMember<Document> m_requestingDocument; |
91 }; | 92 }; |
92 | 93 |
93 } | 94 } // namespace blink |
94 | 95 |
95 #endif // !defined(PerformanceResourceTiming_h) | 96 #endif // PerformanceResourceTiming_h |
OLD | NEW |