| 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_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 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "chrome/common/chrome_switches.h" | 43 #include "chrome/common/chrome_switches.h" |
| 44 #include "chrome/common/pref_names.h" | 44 #include "chrome/common/pref_names.h" |
| 45 #include "chrome/renderer/chrome_content_renderer_client.h" | 45 #include "chrome/renderer/chrome_content_renderer_client.h" |
| 46 #include "chrome_frame/crash_server_init.h" | 46 #include "chrome_frame/crash_server_init.h" |
| 47 #include "chrome_frame/test/chrome_frame_test_utils.h" | 47 #include "chrome_frame/test/chrome_frame_test_utils.h" |
| 48 #include "chrome_frame/test/net/test_automation_resource_message_filter.h" | 48 #include "chrome_frame/test/net/test_automation_resource_message_filter.h" |
| 49 #include "chrome_frame/test/simulate_input.h" | 49 #include "chrome_frame/test/simulate_input.h" |
| 50 #include "chrome_frame/test/win_event_receiver.h" | 50 #include "chrome_frame/test/win_event_receiver.h" |
| 51 #include "chrome_frame/utils.h" | 51 #include "chrome_frame/utils.h" |
| 52 #include "content/app/content_main.h" | 52 #include "content/app/content_main.h" |
| 53 #include "content/browser/plugin_service.h" | |
| 54 #include "content/public/app/startup_helper_win.h" | 53 #include "content/public/app/startup_helper_win.h" |
| 55 #include "content/public/browser/browser_thread.h" | 54 #include "content/public/browser/browser_thread.h" |
| 56 #include "content/public/browser/notification_service.h" | 55 #include "content/public/browser/notification_service.h" |
| 57 #include "content/public/browser/render_process_host.h" | 56 #include "content/public/browser/render_process_host.h" |
| 58 #include "content/public/common/content_client.h" | 57 #include "content/public/common/content_client.h" |
| 59 #include "content/public/common/content_paths.h" | 58 #include "content/public/common/content_paths.h" |
| 60 #include "sandbox/src/sandbox_types.h" | 59 #include "sandbox/src/sandbox_types.h" |
| 61 #include "testing/gtest/include/gtest/gtest.h" | 60 #include "testing/gtest/include/gtest/gtest.h" |
| 62 #include "ui/base/resource/resource_bundle.h" | 61 #include "ui/base/resource/resource_bundle.h" |
| 63 #include "ui/base/ui_base_paths.h" | 62 #include "ui/base/ui_base_paths.h" |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 // content::InitializeSandboxInfo(&sandbox_info); | 747 // content::InitializeSandboxInfo(&sandbox_info); |
| 749 FakeMainDelegate delegate; | 748 FakeMainDelegate delegate; |
| 750 content::ContentMain( | 749 content::ContentMain( |
| 751 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), | 750 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), |
| 752 &sandbox_info, | 751 &sandbox_info, |
| 753 &delegate); | 752 &delegate); |
| 754 | 753 |
| 755 // Note: In debug builds, we ExitProcess during PostDestroyThreads. | 754 // Note: In debug builds, we ExitProcess during PostDestroyThreads. |
| 756 return g_test_suite->test_result(); | 755 return g_test_suite->test_result(); |
| 757 } | 756 } |
| OLD | NEW |