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

Unified Diff: components/test/run_all_unittests.cc

Issue 1272113002: Allow url::SchemeHostPort to hold non-file scheme without port (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 | « chrome/common/chrome_content_client_unittest.cc ('k') | content/browser/site_instance_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test/run_all_unittests.cc
diff --git a/components/test/run_all_unittests.cc b/components/test/run_all_unittests.cc
index 572eb6f7b517b5ae5b4aeff0af6d83e4e2c34203..9edbe9c2e461a0f72e4debc2e237dc367ff70e7d 100644
--- a/components/test/run_all_unittests.cc
+++ b/components/test/run_all_unittests.cc
@@ -78,10 +78,10 @@ class ComponentsTestSuite : public base::TestSuite {
// These schemes need to be added globally to pass tests of
// autocomplete_input_unittest.cc and content_settings_pattern*
- url::AddStandardScheme("chrome");
- url::AddStandardScheme("chrome-extension");
- url::AddStandardScheme("chrome-devtools");
- url::AddStandardScheme("chrome-search");
+ url::AddStandardScheme("chrome", url::SCHEME_WITHOUT_PORT);
+ url::AddStandardScheme("chrome-extension", url::SCHEME_WITHOUT_PORT);
+ url::AddStandardScheme("chrome-devtools", url::SCHEME_WITHOUT_PORT);
+ url::AddStandardScheme("chrome-search", url::SCHEME_WITHOUT_PORT);
// Not using kExtensionScheme to avoid the dependency to extensions.
ContentSettingsPattern::SetNonWildcardDomainNonPortScheme(
« no previous file with comments | « chrome/common/chrome_content_client_unittest.cc ('k') | content/browser/site_instance_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698