OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/web/test/web_test_suite.h" | 5 #include "ios/web/public/test/web_test_suite.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
9 #include "base/metrics/statistics_recorder.h" | 9 #include "base/metrics/statistics_recorder.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #import "ios/web/public/test/test_web_client.h" | 11 #import "ios/web/public/test/test_web_client.h" |
12 #include "ios/web/public/url_schemes.h" | 12 #include "ios/web/public/url_schemes.h" |
13 #include "ios/web/web_thread_impl.h" | 13 #include "ios/web/web_thread_impl.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "ui/base/resource/resource_bundle.h" | 15 #include "ui/base/resource/resource_bundle.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 ResourceBundle::GetSharedInstance().AddDataPackFromPath( | 57 ResourceBundle::GetSharedInstance().AddDataPackFromPath( |
58 resources_pack_path, ui::SCALE_FACTOR_NONE); | 58 resources_pack_path, ui::SCALE_FACTOR_NONE); |
59 } | 59 } |
60 | 60 |
61 void WebTestSuite::Shutdown() { | 61 void WebTestSuite::Shutdown() { |
62 ResourceBundle::CleanupSharedInstance(); | 62 ResourceBundle::CleanupSharedInstance(); |
63 base::TestSuite::Shutdown(); | 63 base::TestSuite::Shutdown(); |
64 } | 64 } |
65 | 65 |
66 } // namespace web | 66 } // namespace web |
OLD | NEW |