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

Unified Diff: url/origin.h

Issue 1658913002: Make extensions use a correct same-origin check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments. Created 4 years, 11 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
Index: url/origin.h
diff --git a/url/origin.h b/url/origin.h
index 73e6248276b5baa67e59c43aa211f0fb53d0f642..aed98135cbbde87572fc2596f8695dda6aacdf1c 100644
--- a/url/origin.h
+++ b/url/origin.h
@@ -130,8 +130,9 @@ class URL_EXPORT Origin {
bool unique_;
};
-URL_EXPORT std::ostream& operator<<(std::ostream& out,
- const Origin& origin);
+URL_EXPORT std::ostream& operator<<(std::ostream& out, const Origin& origin);
+
+URL_EXPORT bool IsSameOriginWith(const GURL& a, const GURL& b);
} // namespace url

Powered by Google App Engine
This is Rietveld 408576698