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_frame/test/net/fake_external_tab.h" | 5 #include "chrome_frame/test/net/fake_external_tab.h" |
6 | 6 |
7 #include <atlbase.h> | 7 #include <atlbase.h> |
8 #include <atlcom.h> | 8 #include <atlcom.h> |
9 #include <exdisp.h> | 9 #include <exdisp.h> |
10 #include <Winsock2.h> | 10 #include <Winsock2.h> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/debug/debugger.h" | 14 #include "base/debug/debugger.h" |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
16 #include "base/file_version_info.h" | 16 #include "base/file_version_info.h" |
17 #include "base/files/scoped_temp_dir.h" | 17 #include "base/files/scoped_temp_dir.h" |
18 #include "base/i18n/icu_util.h" | 18 #include "base/i18n/icu_util.h" |
19 #include "base/lazy_instance.h" | 19 #include "base/lazy_instance.h" |
20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
21 #include "base/path_service.h" | 21 #include "base/path_service.h" |
22 #include "base/prefs/json_pref_store.h" | 22 #include "base/prefs/json_pref_store.h" |
23 #include "base/prefs/pref_registry_simple.h" | 23 #include "base/prefs/pref_registry_simple.h" |
24 #include "base/prefs/pref_service.h" | 24 #include "base/prefs/pref_service.h" |
25 #include "base/string_piece.h" | |
26 #include "base/string_util.h" | 25 #include "base/string_util.h" |
27 #include "base/stringprintf.h" | 26 #include "base/stringprintf.h" |
| 27 #include "base/strings/string_piece.h" |
28 #include "base/system_monitor/system_monitor.h" | 28 #include "base/system_monitor/system_monitor.h" |
29 #include "base/test/test_timeouts.h" | 29 #include "base/test/test_timeouts.h" |
30 #include "base/threading/platform_thread.h" | 30 #include "base/threading/platform_thread.h" |
31 #include "base/threading/thread.h" | 31 #include "base/threading/thread.h" |
32 #include "base/win/scoped_comptr.h" | 32 #include "base/win/scoped_comptr.h" |
33 #include "base/win/scoped_handle.h" | 33 #include "base/win/scoped_handle.h" |
34 #include "chrome/app/chrome_main_delegate.h" | 34 #include "chrome/app/chrome_main_delegate.h" |
35 #include "chrome/browser/automation/automation_provider_list.h" | 35 #include "chrome/browser/automation/automation_provider_list.h" |
36 #include "chrome/browser/chrome_content_browser_client.h" | 36 #include "chrome/browser/chrome_content_browser_client.h" |
37 #include "chrome/browser/prefs/browser_prefs.h" | 37 #include "chrome/browser/prefs/browser_prefs.h" |
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 content::InitializeSandboxInfo(&sandbox_info); | 971 content::InitializeSandboxInfo(&sandbox_info); |
972 FakeMainDelegate delegate; | 972 FakeMainDelegate delegate; |
973 content::ContentMain( | 973 content::ContentMain( |
974 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), | 974 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), |
975 &sandbox_info, | 975 &sandbox_info, |
976 &delegate); | 976 &delegate); |
977 | 977 |
978 // Note: In debug builds, we ExitProcess during PostDestroyThreads. | 978 // Note: In debug builds, we ExitProcess during PostDestroyThreads. |
979 return g_test_suite->test_result(); | 979 return g_test_suite->test_result(); |
980 } | 980 } |
OLD | NEW |