summaryrefslogtreecommitdiff
path: root/chromium/url/origin.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/url/origin.h')
-rw-r--r--chromium/url/origin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/url/origin.h b/chromium/url/origin.h
index 346b197b4a9..a7a62dc1695 100644
--- a/chromium/url/origin.h
+++ b/chromium/url/origin.h
@@ -87,6 +87,9 @@ class URL_EXPORT Origin {
// 2. 'filesystem' URLs behave as 'blob' URLs (that is, the origin is parsed
// out of everything in the URL which follows the scheme).
// 3. 'file' URLs all parse as ("file", "", 0).
+ static Origin Create(const GURL& url);
+
+ // TODO(dcheng): Deprecated. Please use the factory helper above.
explicit Origin(const GURL& url);
// Copyable and movable.