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

Unified Diff: Source/core/timing/PerformanceBase.h

Issue 1185553002: ResourceTiming should not depend on Document (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/FrameFetchContext.cpp ('k') | Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/PerformanceBase.h
diff --git a/Source/core/timing/PerformanceBase.h b/Source/core/timing/PerformanceBase.h
index 56c6f2e42a3b400c49a4d58a2b6ebbdc8fa00fca..be81f939080c2fbf62ddfe82b44bd2ca58469b28 100644
--- a/Source/core/timing/PerformanceBase.h
+++ b/Source/core/timing/PerformanceBase.h
@@ -46,6 +46,7 @@ class Document;
class ExceptionState;
class PerformanceTiming;
class ResourceTimingInfo;
+class SecurityOrigin;
class UserTiming;
using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>;
@@ -76,7 +77,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull);
- void addResourceTiming(const ResourceTimingInfo&, Document*);
+ void addResourceTiming(const ResourceTimingInfo&, const SecurityOrigin*);
kinuko 2015/06/12 05:44:54 nit: if we don't expect this could be null conside
Kunihiko Sakamoto 2015/06/12 06:03:21 Done.
void addRenderTiming(Document*, unsigned, double, double);
« no previous file with comments | « Source/core/loader/FrameFetchContext.cpp ('k') | Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698