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

Unified Diff: content/public/common/url_constants.h

Issue 2332263002: Updated suborigin serialization to latest spec proposal (Closed)
Patch Set: Convert suborigin schemes to pseudo schemes Created 4 years, 3 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: content/public/common/url_constants.h
diff --git a/content/public/common/url_constants.h b/content/public/common/url_constants.h
index 270589145f0bf8806b689008168d5f4cacba24a2..f160231881a0493989365b1f5a5c7c969afbabd2 100644
--- a/content/public/common/url_constants.h
+++ b/content/public/common/url_constants.h
@@ -70,6 +70,11 @@ CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[];
CONTENT_EXPORT extern const char kChromeUIResourcesURL[];
CONTENT_EXPORT extern const char kChromeUIShorthangURL[];
+// Special HTTP and HTTPS schemes for serialization of suborigins. See
+// https://w3c.github.io/webappsec-suborigins/.
+CONTENT_EXPORT extern const char kHttpSuboriginScheme[];
+CONTENT_EXPORT extern const char kHttpsSuboriginScheme[];
+
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698