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" | |
17 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
18 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
19 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
20 #include "chrome/browser/chrome_content_browser_client.h" | 19 #include "chrome/browser/chrome_content_browser_client.h" |
21 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" | 20 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" |
22 #include "chrome/common/chrome_constants.h" | 21 #include "chrome/common/chrome_constants.h" |
23 #include "chrome/common/chrome_content_client.h" | 22 #include "chrome/common/chrome_content_client.h" |
24 #include "chrome/common/chrome_paths.h" | 23 #include "chrome/common/chrome_paths.h" |
25 #include "chrome/common/extensions/chrome_manifest_handlers.h" | 24 #include "chrome/common/extensions/chrome_manifest_handlers.h" |
26 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" | 25 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" |
(...skipping 11 matching lines...) Expand all Loading... |
38 | 37 |
39 #if defined(OS_ANDROID) | 38 #if defined(OS_ANDROID) |
40 #include "base/android/jni_android.h" | 39 #include "base/android/jni_android.h" |
41 #include "chrome/browser/android/chrome_jni_registrar.h" | 40 #include "chrome/browser/android/chrome_jni_registrar.h" |
42 #include "net/android/net_jni_registrar.h" | 41 #include "net/android/net_jni_registrar.h" |
43 #include "ui/android/ui_jni_registrar.h" | 42 #include "ui/android/ui_jni_registrar.h" |
44 #include "ui/gl/android/gl_jni_registrar.h" | 43 #include "ui/gl/android/gl_jni_registrar.h" |
45 #endif | 44 #endif |
46 | 45 |
47 #if defined(OS_CHROMEOS) | 46 #if defined(OS_CHROMEOS) |
| 47 #include "base/process/process_metrics.h" |
48 #include "chromeos/chromeos_paths.h" | 48 #include "chromeos/chromeos_paths.h" |
49 #endif | 49 #endif |
50 | 50 |
51 #if defined(OS_MACOSX) | 51 #if defined(OS_MACOSX) |
52 #include "base/mac/bundle_locations.h" | 52 #include "base/mac/bundle_locations.h" |
53 #include "base/mac/scoped_nsautorelease_pool.h" | 53 #include "base/mac/scoped_nsautorelease_pool.h" |
54 #if !defined(OS_IOS) | 54 #if !defined(OS_IOS) |
55 #include "base/mac/mac_util.h" | 55 #include "base/mac/mac_util.h" |
56 #include "chrome/browser/chrome_browser_application_mac.h" | 56 #include "chrome/browser/chrome_browser_application_mac.h" |
57 #endif // !defined(OS_IOS) | 57 #endif // !defined(OS_IOS) |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 #if defined(OS_MACOSX) && !defined(OS_IOS) | 301 #if defined(OS_MACOSX) && !defined(OS_IOS) |
302 base::mac::SetOverrideFrameworkBundle(NULL); | 302 base::mac::SetOverrideFrameworkBundle(NULL); |
303 #endif | 303 #endif |
304 | 304 |
305 base::StatsTable::set_current(NULL); | 305 base::StatsTable::set_current(NULL); |
306 stats_table_.reset(); | 306 stats_table_.reset(); |
307 RemoveSharedMemoryFile(stats_filename_); | 307 RemoveSharedMemoryFile(stats_filename_); |
308 | 308 |
309 base::TestSuite::Shutdown(); | 309 base::TestSuite::Shutdown(); |
310 } | 310 } |
OLD | NEW |