OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
31 #include "wtf/CurrentTime.h" | 31 #include "wtf/CurrentTime.h" |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class DocumentLoader; | 35 class DocumentLoader; |
36 class KURL; | 36 class KURL; |
37 | 37 |
38 class CORE_EXPORT DocumentLoadTiming final { | 38 class CORE_EXPORT DocumentLoadTiming final { |
39 DISALLOW_ALLOCATION(); | 39 DISALLOW_NEW(); |
40 public: | 40 public: |
41 explicit DocumentLoadTiming(DocumentLoader&); | 41 explicit DocumentLoadTiming(DocumentLoader&); |
42 | 42 |
43 double monotonicTimeToZeroBasedDocumentTime(double) const; | 43 double monotonicTimeToZeroBasedDocumentTime(double) const; |
44 double monotonicTimeToPseudoWallTime(double) const; | 44 double monotonicTimeToPseudoWallTime(double) const; |
45 double pseudoWallTimeToMonotonicTime(double) const; | 45 double pseudoWallTimeToMonotonicTime(double) const; |
46 | 46 |
47 void markNavigationStart(); | 47 void markNavigationStart(); |
48 void setNavigationStart(double); | 48 void setNavigationStart(double); |
49 void addRedirect(const KURL& redirectingUrl, const KURL& redirectedUrl); | 49 void addRedirect(const KURL& redirectingUrl, const KURL& redirectedUrl); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 double m_loadEventEnd; | 93 double m_loadEventEnd; |
94 bool m_hasCrossOriginRedirect; | 94 bool m_hasCrossOriginRedirect; |
95 bool m_hasSameOriginAsPreviousDocument; | 95 bool m_hasSameOriginAsPreviousDocument; |
96 | 96 |
97 RawPtrWillBeMember<DocumentLoader> m_documentLoader; | 97 RawPtrWillBeMember<DocumentLoader> m_documentLoader; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace blink | 100 } // namespace blink |
101 | 101 |
102 #endif | 102 #endif |
OLD | NEW |