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/unit/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" |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 delete g_browser_process; | 159 delete g_browser_process; |
160 g_browser_process = NULL; | 160 g_browser_process = NULL; |
161 | 161 |
162 // Tear down shared StatsTable; prevents unit_tests from leaking it. | 162 // Tear down shared StatsTable; prevents unit_tests from leaking it. |
163 base::StatsTable::set_current(NULL); | 163 base::StatsTable::set_current(NULL); |
164 delete stats_table_; | 164 delete stats_table_; |
165 RemoveSharedMemoryFile(stats_filename_); | 165 RemoveSharedMemoryFile(stats_filename_); |
166 | 166 |
167 base::TestSuite::Shutdown(); | 167 base::TestSuite::Shutdown(); |
168 } | 168 } |
OLD | NEW |