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

Side by Side Diff: Source/core/timing/PerformanceResourceTiming.h

Issue 1152673004: Add workerStart attribute to ResourceTiming (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 return new PerformanceResourceTiming(info, requestingDocument, startTime , lastRedirectEndTime, m_allowTimingDetails, m_allowRedirectDetails); 50 return new PerformanceResourceTiming(info, requestingDocument, startTime , lastRedirectEndTime, m_allowTimingDetails, m_allowRedirectDetails);
51 } 51 }
52 52
53 static PerformanceResourceTiming* create(const ResourceTimingInfo& info, Doc ument* requestingDocument, double startTime, bool m_allowTimingDetails) 53 static PerformanceResourceTiming* create(const ResourceTimingInfo& info, Doc ument* requestingDocument, double startTime, bool m_allowTimingDetails)
54 { 54 {
55 return new PerformanceResourceTiming(info, requestingDocument, startTime , 0.0, m_allowTimingDetails, false); 55 return new PerformanceResourceTiming(info, requestingDocument, startTime , 0.0, m_allowTimingDetails, false);
56 } 56 }
57 57
58 AtomicString initiatorType() const; 58 AtomicString initiatorType() const;
59 59
60 double workerStart() const;
60 double redirectStart() const; 61 double redirectStart() const;
61 double redirectEnd() const; 62 double redirectEnd() const;
62 double fetchStart() const; 63 double fetchStart() const;
63 double domainLookupStart() const; 64 double domainLookupStart() const;
64 double domainLookupEnd() const; 65 double domainLookupEnd() const;
65 double connectStart() const; 66 double connectStart() const;
66 double connectEnd() const; 67 double connectEnd() const;
67 double secureConnectionStart() const; 68 double secureConnectionStart() const;
68 double requestStart() const; 69 double requestStart() const;
69 double responseStart() const; 70 double responseStart() const;
(...skipping 13 matching lines...) Expand all
83 double m_lastRedirectEndTime; 84 double m_lastRedirectEndTime;
84 double m_finishTime; 85 double m_finishTime;
85 bool m_didReuseConnection; 86 bool m_didReuseConnection;
86 bool m_allowTimingDetails; 87 bool m_allowTimingDetails;
87 bool m_allowRedirectDetails; 88 bool m_allowRedirectDetails;
88 }; 89 };
89 90
90 } // namespace blink 91 } // namespace blink
91 92
92 #endif // PerformanceResourceTiming_h 93 #endif // PerformanceResourceTiming_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698