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

Unified Diff: url/origin.h

Issue 1762603002: Switch components/password_manager code from IPC messages to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Impl done, unit_tests and browser_tests not ready yet Created 4 years, 9 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 aab1f05a2013cc84cd4aedbb91a9e10b0df88307..90a4a7252ab93f53494a43eea3637e7930fd1589 100644
--- a/url/origin.h
+++ b/url/origin.h
@@ -115,6 +115,8 @@ class URL_EXPORT Origin {
// the addition that all Origins with a 'file' scheme serialize to "file://".
std::string Serialize() const;
+ Origin Clone() const;
+
// Two Origins are "same-origin" if their schemes, hosts, and ports are exact
// matches; and neither is unique.
bool IsSameOriginWith(const Origin& other) const;

Powered by Google App Engine
This is Rietveld 408576698