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

Side by Side Diff: ios/chrome/test/ios_chrome_unit_test_suite.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 unified diff | Download patch
« no previous file with comments | « google_apis/drive/drive_api_url_generator_unittest.cc ('k') | mojo/runner/url_resolver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/chrome/test/ios_chrome_unit_test_suite.h" 5 #include "ios/chrome/test/ios_chrome_unit_test_suite.h"
6 6
7 #include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories .h" 7 #include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories .h"
8 #include "ios/chrome/browser/chrome_paths.h" 8 #include "ios/chrome/browser/chrome_paths.h"
9 #include "ios/chrome/test/testing_application_context.h" 9 #include "ios/chrome/test/testing_application_context.h"
10 #include "ios/public/test/test_chrome_browser_provider.h" 10 #include "ios/public/test/test_chrome_browser_provider.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Ensure that all BrowserStateKeyedServiceFactories are built before any 69 // Ensure that all BrowserStateKeyedServiceFactories are built before any
70 // test is run so that the dependencies are correctly resolved. 70 // test is run so that the dependencies are correctly resolved.
71 EnsureBrowserStateKeyedServiceFactoriesBuilt(); 71 EnsureBrowserStateKeyedServiceFactoriesBuilt();
72 72
73 ios::RegisterPathProvider(); 73 ios::RegisterPathProvider();
74 ui::RegisterPathProvider(); 74 ui::RegisterPathProvider();
75 75
76 { 76 {
77 ios::TestChromeBrowserProvider provider; 77 ios::TestChromeBrowserProvider provider;
78 url::AddStandardScheme(provider.GetChromeUIScheme()); 78 url::AddStandardScheme(provider.GetChromeUIScheme(),
79 url::SCHEME_WITHOUT_PORT);
79 } 80 }
80 81
81 base::TestSuite::Initialize(); 82 base::TestSuite::Initialize();
82 } 83 }
OLDNEW
« no previous file with comments | « google_apis/drive/drive_api_url_generator_unittest.cc ('k') | mojo/runner/url_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698