Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: Source/core/loader/DocumentLoadTiming.h

Issue 16434011: Support performance.now() in workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 double redirectStart() const { return m_redirectStart; } 61 double redirectStart() const { return m_redirectStart; }
62 double redirectEnd() const { return m_redirectEnd; } 62 double redirectEnd() const { return m_redirectEnd; }
63 short redirectCount() const { return m_redirectCount; } 63 short redirectCount() const { return m_redirectCount; }
64 double fetchStart() const { return m_fetchStart; } 64 double fetchStart() const { return m_fetchStart; }
65 double responseEnd() const { return m_responseEnd; } 65 double responseEnd() const { return m_responseEnd; }
66 double loadEventStart() const { return m_loadEventStart; } 66 double loadEventStart() const { return m_loadEventStart; }
67 double loadEventEnd() const { return m_loadEventEnd; } 67 double loadEventEnd() const { return m_loadEventEnd; }
68 bool hasCrossOriginRedirect() const { return m_hasCrossOriginRedirect; } 68 bool hasCrossOriginRedirect() const { return m_hasCrossOriginRedirect; }
69 bool hasSameOriginAsPreviousDocument() const { return m_hasSameOriginAsPrevi ousDocument; } 69 bool hasSameOriginAsPreviousDocument() const { return m_hasSameOriginAsPrevi ousDocument; }
70 70
71 double referenceMonotonicTime() const { return m_referenceMonotonicTime; }
72
71 private: 73 private:
72 double m_referenceMonotonicTime; 74 double m_referenceMonotonicTime;
73 double m_referenceWallTime; 75 double m_referenceWallTime;
74 double m_navigationStart; 76 double m_navigationStart;
75 double m_unloadEventStart; 77 double m_unloadEventStart;
76 double m_unloadEventEnd; 78 double m_unloadEventEnd;
77 double m_redirectStart; 79 double m_redirectStart;
78 double m_redirectEnd; 80 double m_redirectEnd;
79 short m_redirectCount; 81 short m_redirectCount;
80 double m_fetchStart; 82 double m_fetchStart;
81 double m_responseEnd; 83 double m_responseEnd;
82 double m_loadEventStart; 84 double m_loadEventStart;
83 double m_loadEventEnd; 85 double m_loadEventEnd;
84 bool m_hasCrossOriginRedirect; 86 bool m_hasCrossOriginRedirect;
85 bool m_hasSameOriginAsPreviousDocument; 87 bool m_hasSameOriginAsPreviousDocument;
86 }; 88 };
87 89
88 } // namespace WebCore 90 } // namespace WebCore
89 91
90 #endif 92 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698