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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/cancelable_callback.h" | 6 #include "base/cancelable_callback.h" |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "chrome/common/chrome_paths.h" | 30 #include "chrome/common/chrome_paths.h" |
31 #include "chrome/common/chrome_switches.h" | 31 #include "chrome/common/chrome_switches.h" |
32 #include "chrome/common/pref_names.h" | 32 #include "chrome/common/pref_names.h" |
33 #include "chrome/common/url_constants.h" | 33 #include "chrome/common/url_constants.h" |
34 #include "chrome/test/base/in_process_browser_test.h" | 34 #include "chrome/test/base/in_process_browser_test.h" |
35 #include "chrome/test/base/test_switches.h" | 35 #include "chrome/test/base/test_switches.h" |
36 #include "chrome/test/base/ui_test_utils.h" | 36 #include "chrome/test/base/ui_test_utils.h" |
37 #include "content/public/browser/child_process_data.h" | 37 #include "content/public/browser/child_process_data.h" |
38 #include "content/public/browser/content_browser_client.h" | 38 #include "content/public/browser/content_browser_client.h" |
39 #include "content/public/browser/devtools_agent_host.h" | 39 #include "content/public/browser/devtools_agent_host.h" |
40 #include "content/public/browser/devtools_client_host.h" | |
41 #include "content/public/browser/devtools_http_handler.h" | 40 #include "content/public/browser/devtools_http_handler.h" |
42 #include "content/public/browser/devtools_manager.h" | |
43 #include "content/public/browser/notification_registrar.h" | 41 #include "content/public/browser/notification_registrar.h" |
44 #include "content/public/browser/notification_service.h" | 42 #include "content/public/browser/notification_service.h" |
45 #include "content/public/browser/render_view_host.h" | 43 #include "content/public/browser/render_view_host.h" |
46 #include "content/public/browser/web_contents.h" | 44 #include "content/public/browser/web_contents.h" |
47 #include "content/public/browser/worker_service.h" | 45 #include "content/public/browser/worker_service.h" |
48 #include "content/public/browser/worker_service_observer.h" | 46 #include "content/public/browser/worker_service_observer.h" |
49 #include "content/public/common/content_switches.h" | 47 #include "content/public/common/content_switches.h" |
50 #include "content/public/test/browser_test_utils.h" | 48 #include "content/public/test/browser_test_utils.h" |
51 #include "extensions/browser/extension_system.h" | 49 #include "extensions/browser/extension_system.h" |
52 #include "extensions/browser/notification_types.h" | 50 #include "extensions/browser/notification_types.h" |
53 #include "extensions/common/switches.h" | 51 #include "extensions/common/switches.h" |
54 #include "net/socket/tcp_listen_socket.h" | 52 #include "net/socket/tcp_listen_socket.h" |
55 #include "net/test/spawned_test_server/spawned_test_server.h" | 53 #include "net/test/spawned_test_server/spawned_test_server.h" |
56 | 54 |
57 using content::BrowserThread; | 55 using content::BrowserThread; |
58 using content::DevToolsManager; | |
59 using content::DevToolsAgentHost; | 56 using content::DevToolsAgentHost; |
60 using content::NavigationController; | 57 using content::NavigationController; |
61 using content::RenderViewHost; | 58 using content::RenderViewHost; |
62 using content::WebContents; | 59 using content::WebContents; |
63 using content::WorkerService; | 60 using content::WorkerService; |
64 using content::WorkerServiceObserver; | 61 using content::WorkerServiceObserver; |
65 | 62 |
66 namespace { | 63 namespace { |
67 | 64 |
68 const char kDebuggerTestPage[] = "files/devtools/debugger_test_page.html"; | 65 const char kDebuggerTestPage[] = "files/devtools/debugger_test_page.html"; |
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
921 | 918 |
922 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { | 919 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { |
923 #if defined(OS_WIN) && defined(USE_ASH) | 920 #if defined(OS_WIN) && defined(USE_ASH) |
924 // Disable this test in Metro+Ash for now (http://crbug.com/262796). | 921 // Disable this test in Metro+Ash for now (http://crbug.com/262796). |
925 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) | 922 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) |
926 return; | 923 return; |
927 #endif | 924 #endif |
928 | 925 |
929 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; | 926 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; |
930 } | 927 } |
OLD | NEW |