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 "base/macros.h" |
7 #include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories
.h" | 8 #include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories
.h" |
8 #include "ios/chrome/browser/chrome_paths.h" | 9 #include "ios/chrome/browser/chrome_paths.h" |
9 #include "ios/chrome/browser/chrome_url_constants.h" | 10 #include "ios/chrome/browser/chrome_url_constants.h" |
10 #include "ios/chrome/test/testing_application_context.h" | 11 #include "ios/chrome/test/testing_application_context.h" |
11 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" | 12 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" |
12 #include "ios/public/test/test_chrome_provider_initializer.h" | 13 #include "ios/public/test/test_chrome_provider_initializer.h" |
13 #include "ios/web/public/web_client.h" | 14 #include "ios/web/public/web_client.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
16 #include "ui/base/ui_base_paths.h" | 17 #include "ui/base/ui_base_paths.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // test is run so that the dependencies are correctly resolved. | 82 // test is run so that the dependencies are correctly resolved. |
82 EnsureBrowserStateKeyedServiceFactoriesBuilt(); | 83 EnsureBrowserStateKeyedServiceFactoriesBuilt(); |
83 | 84 |
84 ios::RegisterPathProvider(); | 85 ios::RegisterPathProvider(); |
85 ui::RegisterPathProvider(); | 86 ui::RegisterPathProvider(); |
86 | 87 |
87 url::AddStandardScheme(kChromeUIScheme, url::SCHEME_WITHOUT_PORT); | 88 url::AddStandardScheme(kChromeUIScheme, url::SCHEME_WITHOUT_PORT); |
88 | 89 |
89 base::TestSuite::Initialize(); | 90 base::TestSuite::Initialize(); |
90 } | 91 } |
OLD | NEW |