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

Unified Diff: content/common/url_schemes.cc

Issue 2332263002: Updated suborigin serialization to latest spec proposal (Closed)
Patch Set: Actually disable test 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
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/url_schemes.cc
diff --git a/content/common/url_schemes.cc b/content/common/url_schemes.cc
index 96f487b2f04ed4fff7e89985ad827985967b7e93..253bfd32bbf931a298e7694d0ca1000e545a1a9e 100644
--- a/content/common/url_schemes.cc
+++ b/content/common/url_schemes.cc
@@ -35,6 +35,11 @@ void RegisterContentSchemes(bool lock_schemes) {
url::AddStandardScheme(kChromeUIScheme, url::SCHEME_WITHOUT_PORT);
url::AddStandardScheme(kGuestScheme, url::SCHEME_WITHOUT_PORT);
+ url::AddStandardScheme(kHttpSuboriginScheme, url::SCHEME_WITH_PORT);
+ url::AddReferrerScheme(kHttpSuboriginScheme, url::SCHEME_WITH_PORT);
+ url::AddStandardScheme(kHttpsSuboriginScheme, url::SCHEME_WITH_PORT);
+ url::AddReferrerScheme(kHttpsSuboriginScheme, url::SCHEME_WITH_PORT);
+
for (const url::SchemeWithType& scheme : additional_standard_schemes)
url::AddStandardScheme(scheme.scheme, scheme.type);
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698