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

Unified Diff: content/common/url_schemes.cc

Issue 2403713002: Add suborigin logic to url::Origin (Closed)
Patch Set: Fix unit test Created 4 years, 2 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/common/origin_util_unittest.cc ('k') | content/public/browser/dom_storage_context.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 253bfd32bbf931a298e7694d0ca1000e545a1a9e..96f487b2f04ed4fff7e89985ad827985967b7e93 100644
--- a/content/common/url_schemes.cc
+++ b/content/common/url_schemes.cc
@@ -35,11 +35,6 @@ 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/common/origin_util_unittest.cc ('k') | content/public/browser/dom_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698