OLD | NEW |
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 Loading... |
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); | |
80 } | 79 } |
81 | 80 |
82 base::TestSuite::Initialize(); | 81 base::TestSuite::Initialize(); |
83 } | 82 } |
OLD | NEW |