OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/test/base/chrome_test_suite.h" | 5 #include "chrome/test/base/chrome_test_suite.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/mac/scoped_nsautorelease_pool.h" | 8 #include "base/mac/scoped_nsautorelease_pool.h" |
9 #include "base/metrics/stats_table.h" | 9 #include "base/metrics/stats_table.h" |
10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
11 #include "base/stringprintf.h" | 11 #include "base/stringprintf.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
14 #include "chrome/common/chrome_constants.h" | 14 #include "chrome/common/chrome_constants.h" |
15 #include "chrome/common/chrome_content_client.h" | 15 #include "chrome/common/chrome_content_client.h" |
16 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
17 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
18 #include "chrome/test/testing_browser_process.h" | 18 #include "chrome/test/base/testing_browser_process.h" |
19 #include "content/common/content_paths.h" | 19 #include "content/common/content_paths.h" |
20 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
21 #include "ui/base/resource/resource_bundle.h" | 21 #include "ui/base/resource/resource_bundle.h" |
22 #include "ui/base/ui_base_paths.h" | 22 #include "ui/base/ui_base_paths.h" |
23 #if defined(TOOLKIT_VIEWS) | 23 #if defined(TOOLKIT_VIEWS) |
24 #include "views/view.h" | 24 #include "views/view.h" |
25 #endif | 25 #endif |
26 | 26 |
27 #if defined(OS_MACOSX) | 27 #if defined(OS_MACOSX) |
28 #include "base/mac/mac_util.h" | 28 #include "base/mac/mac_util.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 g_browser_process = NULL; | 166 g_browser_process = NULL; |
167 #endif | 167 #endif |
168 | 168 |
169 // Tear down shared StatsTable; prevents unit_tests from leaking it. | 169 // Tear down shared StatsTable; prevents unit_tests from leaking it. |
170 base::StatsTable::set_current(NULL); | 170 base::StatsTable::set_current(NULL); |
171 delete stats_table_; | 171 delete stats_table_; |
172 RemoveSharedMemoryFile(stats_filename_); | 172 RemoveSharedMemoryFile(stats_filename_); |
173 | 173 |
174 base::TestSuite::Shutdown(); | 174 base::TestSuite::Shutdown(); |
175 } | 175 } |
OLD | NEW |