| 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 |
| 75 double resourceTimeToDocumentMilliseconds(int deltaMilliseconds) const; | 76 double resourceTimeToDocumentMilliseconds(int deltaMilliseconds) const; |
| 77 #endif |
| 76 | 78 |
| 77 AtomicString m_initiatorType; | 79 AtomicString m_initiatorType; |
| 78 RefPtr<ResourceLoadTiming> m_timing; | 80 RefPtr<ResourceLoadTiming> m_timing; |
| 79 double m_finishTime; | 81 double m_finishTime; |
| 80 bool m_didReuseConnection; | 82 bool m_didReuseConnection; |
| 81 bool m_shouldReportDetails; | 83 bool m_shouldReportDetails; |
| 82 RefPtr<Document> m_requestingDocument; | 84 RefPtr<Document> m_requestingDocument; |
| 83 }; | 85 }; |
| 84 | 86 |
| 85 } | 87 } |
| 86 | 88 |
| 87 #endif // !defined(PerformanceResourceTiming_h) | 89 #endif // !defined(PerformanceResourceTiming_h) |
| OLD | NEW |