Index: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h |
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h |
index 4b16590640348e68bdde642a9455df01e1440a16..95e1e6905a03c52eef46608ed600f358a86fcedf 100644 |
--- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h |
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h |
@@ -123,6 +123,10 @@ public: |
// display content from the user's files system. |
bool canDisplay(const KURL&) const; |
+ // Returns true if the two URLs are equivalent and can be used as a URL for |
+ // |document|. It is used for history.pushState and history.replaceState. |
+ bool areSamePageUrls(const KURL&, const KURL&) const; |
+ |
// Returns true if the origin loads resources either from the local |
// machine or over the network from a |
// cryptographically-authenticated origin, as described in |