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

Unified Diff: Source/core/page/Performance.h

Issue 13912021: [Resource Timing] Expose redirect timing information (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebaseline 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/cache/CachedResourceLoader.cpp ('k') | Source/core/page/Performance.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Performance.h
diff --git a/Source/core/page/Performance.h b/Source/core/page/Performance.h
index 161a584bc8a4fa52b65ad058f0e75c10f1803391..307265109c00eb548388e30c6857b9e84844e238 100644
--- a/Source/core/page/Performance.h
+++ b/Source/core/page/Performance.h
@@ -49,6 +49,7 @@ namespace WebCore {
class Document;
class ResourceRequest;
class ResourceResponse;
+class ResourceTimingInfo;
class UserTiming;
class Performance : public ScriptWrappable, public RefCounted<Performance>, public DOMWindowProperty, public EventTarget {
@@ -73,7 +74,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitresourcetimingbufferfull);
- void addResourceTiming(const String& initiatorName, Document*, const ResourceRequest&, const ResourceResponse&, double initiationTime, double finishTime);
+ void addResourceTiming(const ResourceTimingInfo&, Document*);
using RefCounted<Performance>::ref;
using RefCounted<Performance>::deref;
@@ -92,6 +93,7 @@ private:
virtual EventTargetData* eventTargetData();
virtual EventTargetData* ensureEventTargetData();
bool isResourceTimingBufferFull();
+ void addResourceTimingBuffer(PassRefPtr<PerformanceEntry>);
EventTargetData m_eventTargetData;
« no previous file with comments | « Source/core/loader/cache/CachedResourceLoader.cpp ('k') | Source/core/page/Performance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698