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 13 matching lines...) Expand all Loading... |
24 #include "chrome/browser/automation/automation_provider_list.h" | 24 #include "chrome/browser/automation/automation_provider_list.h" |
25 #include "chrome/browser/prefs/browser_prefs.h" | 25 #include "chrome/browser/prefs/browser_prefs.h" |
26 #include "chrome/browser/prefs/pref_service.h" | 26 #include "chrome/browser/prefs/pref_service.h" |
27 #include "chrome/browser/process_singleton.h" | 27 #include "chrome/browser/process_singleton.h" |
28 #include "chrome/browser/profiles/profile_manager.h" | 28 #include "chrome/browser/profiles/profile_manager.h" |
29 #include "chrome/browser/renderer_host/web_cache_manager.h" | 29 #include "chrome/browser/renderer_host/web_cache_manager.h" |
30 #include "chrome/common/chrome_constants.h" | 30 #include "chrome/common/chrome_constants.h" |
31 #include "chrome/common/chrome_paths.h" | 31 #include "chrome/common/chrome_paths.h" |
32 #include "chrome/common/chrome_paths_internal.h" | 32 #include "chrome/common/chrome_paths_internal.h" |
33 #include "chrome/common/chrome_switches.h" | 33 #include "chrome/common/chrome_switches.h" |
34 #include "chrome/common/notification_service.h" | |
35 #include "chrome/common/pref_names.h" | 34 #include "chrome/common/pref_names.h" |
36 #include "chrome_frame/test/chrome_frame_test_utils.h" | 35 #include "chrome_frame/test/chrome_frame_test_utils.h" |
37 #include "chrome_frame/test/net/test_automation_resource_message_filter.h" | 36 #include "chrome_frame/test/net/test_automation_resource_message_filter.h" |
38 #include "chrome_frame/test/simulate_input.h" | 37 #include "chrome_frame/test/simulate_input.h" |
39 #include "chrome_frame/test/win_event_receiver.h" | 38 #include "chrome_frame/test/win_event_receiver.h" |
40 #include "chrome_frame/utils.h" | 39 #include "chrome_frame/utils.h" |
41 #include "content/browser/plugin_service.h" | 40 #include "content/browser/plugin_service.h" |
42 #include "content/browser/renderer_host/render_process_host.h" | 41 #include "content/browser/renderer_host/render_process_host.h" |
43 #include "content/common/content_paths.h" | 42 #include "content/common/content_paths.h" |
| 43 #include "content/common/notification_service.h" |
44 #include "testing/gtest/include/gtest/gtest.h" | 44 #include "testing/gtest/include/gtest/gtest.h" |
45 #include "ui/base/resource/resource_bundle.h" | 45 #include "ui/base/resource/resource_bundle.h" |
46 #include "ui/base/ui_base_paths.h" | 46 #include "ui/base/ui_base_paths.h" |
47 | 47 |
48 namespace { | 48 namespace { |
49 | 49 |
50 // A special command line switch to allow developers to manually launch the | 50 // A special command line switch to allow developers to manually launch the |
51 // browser and debug CF inside the browser. | 51 // browser and debug CF inside the browser. |
52 const char kManualBrowserLaunch[] = "manual-browser"; | 52 const char kManualBrowserLaunch[] = "manual-browser"; |
53 | 53 |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 WindowWatchdog watchdog; | 515 WindowWatchdog watchdog; |
516 // See url_request_unittest.cc for these credentials. | 516 // See url_request_unittest.cc for these credentials. |
517 SupplyProxyCredentials credentials("user", "secret"); | 517 SupplyProxyCredentials credentials("user", "secret"); |
518 watchdog.AddObserver(&credentials, "Windows Security", ""); | 518 watchdog.AddObserver(&credentials, "Windows Security", ""); |
519 testing::InitGoogleTest(&argc, argv); | 519 testing::InitGoogleTest(&argc, argv); |
520 FilterDisabledTests(); | 520 FilterDisabledTests(); |
521 PluginService::EnableChromePlugins(false); | 521 PluginService::EnableChromePlugins(false); |
522 test_suite.RunMainUIThread(); | 522 test_suite.RunMainUIThread(); |
523 return 0; | 523 return 0; |
524 } | 524 } |
OLD | NEW |