Index: third_party/WebKit/Source/core/timing/PerformanceBase.h |
diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.h b/third_party/WebKit/Source/core/timing/PerformanceBase.h |
index 739d5a5968a15f8b05b64e70a461067ec165c4fb..e3414dcfeec231eed67a7990f7d871eec6fdba43 100644 |
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.h |
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.h |
@@ -132,6 +132,17 @@ class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData { |
static PerformanceNavigationTiming::NavigationType getNavigationType( |
NavigationType, |
const Document*); |
+ SecurityOrigin* getSecurityOrigin() const; |
+ |
+ static bool allowsTimingRedirect(const Vector<ResourceResponse>&, |
+ const ResourceResponse&, |
+ const SecurityOrigin&, |
+ ExecutionContext*); |
+ |
+ static bool passesTimingAllowCheck(const ResourceResponse&, |
+ const SecurityOrigin&, |
+ const AtomicString&, |
+ ExecutionContext*); |
protected: |
explicit PerformanceBase(double timeOrigin); |