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

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

Issue 2550883003: nav timing 2 redirect allow opt-in (Closed)
Patch Set: sync Created 4 years 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 | « no previous file | third_party/WebKit/Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a66931b3224a2b8083345afb2fcf4ad2ebe8134c..2418bd6a42aac785a0d8885c25cdad7582ee5fe6 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.h
@@ -132,6 +132,16 @@ class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData {
NavigationType,
const Document*);
+ 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);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698