OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #if defined(OS_CHROMEOS) | 7 #if defined(OS_CHROMEOS) |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 #include <unistd.h> | 9 #include <unistd.h> |
10 #endif | 10 #endif |
11 | 11 |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/metrics/stats_table.h" | 14 #include "base/metrics/stats_table.h" |
15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
16 #include "base/process_util.h" | 16 #include "base/process_util.h" |
17 #include "base/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" |
20 #include "chrome/browser/chrome_content_browser_client.h" | 20 #include "chrome/browser/chrome_content_browser_client.h" |
21 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" | 21 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" |
22 #include "chrome/common/chrome_constants.h" | 22 #include "chrome/common/chrome_constants.h" |
23 #include "chrome/common/chrome_content_client.h" | 23 #include "chrome/common/chrome_content_client.h" |
24 #include "chrome/common/chrome_paths.h" | 24 #include "chrome/common/chrome_paths.h" |
25 #include "chrome/common/extensions/chrome_manifest_handlers.h" | 25 #include "chrome/common/extensions/chrome_manifest_handlers.h" |
26 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" | 26 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" |
27 #include "chrome/common/url_constants.h" | 27 #include "chrome/common/url_constants.h" |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 #if defined(OS_MACOSX) && !defined(OS_IOS) | 294 #if defined(OS_MACOSX) && !defined(OS_IOS) |
295 base::mac::SetOverrideFrameworkBundle(NULL); | 295 base::mac::SetOverrideFrameworkBundle(NULL); |
296 #endif | 296 #endif |
297 | 297 |
298 base::StatsTable::set_current(NULL); | 298 base::StatsTable::set_current(NULL); |
299 stats_table_.reset(); | 299 stats_table_.reset(); |
300 RemoveSharedMemoryFile(stats_filename_); | 300 RemoveSharedMemoryFile(stats_filename_); |
301 | 301 |
302 base::TestSuite::Shutdown(); | 302 base::TestSuite::Shutdown(); |
303 } | 303 } |
OLD | NEW |