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

Unified Diff: third_party/WebKit/Source/platform/weborigin/KURL.h

Issue 1495013002: Check for equality of the URL's origin in replaceState/pushState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow --disable-web-security again, add more tests Created 5 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
Index: third_party/WebKit/Source/platform/weborigin/KURL.h
diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.h b/third_party/WebKit/Source/platform/weborigin/KURL.h
index d6fcb7b37deea2a5caedf37c3230f845c2b75e66..cbef604ccb61935d57d415ac2e2545c276d41480 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.h
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.h
@@ -165,6 +165,7 @@ public:
void removeFragmentIdentifier();
PLATFORM_EXPORT friend bool equalIgnoringFragmentIdentifier(const KURL&, const KURL&);
+ PLATFORM_EXPORT friend bool equalIgnoringPathQueryAndFragment(const KURL&, const KURL&);
unsigned hostStart() const;
unsigned hostEnd() const;
@@ -210,6 +211,7 @@ PLATFORM_EXPORT bool operator!=(const KURL&, const String&);
PLATFORM_EXPORT bool operator!=(const String&, const KURL&);
PLATFORM_EXPORT bool equalIgnoringFragmentIdentifier(const KURL&, const KURL&);
+PLATFORM_EXPORT bool equalIgnoringPathQueryAndFragment(const KURL&, const KURL&);
PLATFORM_EXPORT const KURL& blankURL();

Powered by Google App Engine
This is Rietveld 408576698