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 requestStart() const; | 65 double requestStart() const; |
66 double responseStart() const; | 66 double responseStart() const; |
67 double responseEnd() const; | 67 double responseEnd() const; |
68 | 68 |
69 virtual bool isResource() { return true; } | 69 virtual bool isResource() { return true; } |
70 | 70 |
71 private: | 71 private: |
72 PerformanceResourceTiming(const AtomicString& initatorType, const ResourceRe
quest&, const ResourceResponse&, double initiationTime, double finishTime, Docum
ent*); | 72 PerformanceResourceTiming(const AtomicString& initatorType, const ResourceRe
quest&, const ResourceResponse&, double initiationTime, double finishTime, Docum
ent*); |
73 ~PerformanceResourceTiming(); | 73 ~PerformanceResourceTiming(); |
74 | 74 |
75 #ifndef ENABLE_DOUBLE_RESOURCE_LOAD_TIMING | |
76 double resourceTimeToDocumentMilliseconds(int deltaMilliseconds) const; | |
77 #endif | |
78 | |
79 AtomicString m_initiatorType; | 75 AtomicString m_initiatorType; |
80 RefPtr<ResourceLoadTiming> m_timing; | 76 RefPtr<ResourceLoadTiming> m_timing; |
81 double m_finishTime; | 77 double m_finishTime; |
82 bool m_didReuseConnection; | 78 bool m_didReuseConnection; |
83 bool m_shouldReportDetails; | 79 bool m_shouldReportDetails; |
84 RefPtr<Document> m_requestingDocument; | 80 RefPtr<Document> m_requestingDocument; |
85 }; | 81 }; |
86 | 82 |
87 } | 83 } |
88 | 84 |
89 #endif // !defined(PerformanceResourceTiming_h) | 85 #endif // !defined(PerformanceResourceTiming_h) |
OLD | NEW |