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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "content/public/browser/worker_service.h" | 44 #include "content/public/browser/worker_service.h" |
45 #include "content/public/browser/worker_service_observer.h" | 45 #include "content/public/browser/worker_service_observer.h" |
46 #include "content/public/common/content_switches.h" | 46 #include "content/public/common/content_switches.h" |
47 #include "content/public/test/browser_test_utils.h" | 47 #include "content/public/test/browser_test_utils.h" |
48 #include "extensions/browser/extension_system.h" | 48 #include "extensions/browser/extension_system.h" |
49 #include "extensions/browser/notification_types.h" | 49 #include "extensions/browser/notification_types.h" |
50 #include "extensions/common/switches.h" | 50 #include "extensions/common/switches.h" |
51 #include "net/socket/tcp_listen_socket.h" | 51 #include "net/socket/tcp_listen_socket.h" |
52 #include "net/test/spawned_test_server/spawned_test_server.h" | 52 #include "net/test/spawned_test_server/spawned_test_server.h" |
53 | 53 |
| 54 using app_modal_dialogs::AppModalDialog; |
| 55 using app_modal_dialogs::JavaScriptAppModalDialog; |
| 56 using app_modal_dialogs::NativeAppModalDialog; |
54 using content::BrowserThread; | 57 using content::BrowserThread; |
55 using content::DevToolsAgentHost; | 58 using content::DevToolsAgentHost; |
56 using content::NavigationController; | 59 using content::NavigationController; |
57 using content::RenderViewHost; | 60 using content::RenderViewHost; |
58 using content::WebContents; | 61 using content::WebContents; |
59 using content::WorkerService; | 62 using content::WorkerService; |
60 using content::WorkerServiceObserver; | 63 using content::WorkerServiceObserver; |
61 | 64 |
62 namespace { | 65 namespace { |
63 | 66 |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 | 933 |
931 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { | 934 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { |
932 #if defined(OS_WIN) && defined(USE_ASH) | 935 #if defined(OS_WIN) && defined(USE_ASH) |
933 // Disable this test in Metro+Ash for now (http://crbug.com/262796). | 936 // Disable this test in Metro+Ash for now (http://crbug.com/262796). |
934 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) | 937 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) |
935 return; | 938 return; |
936 #endif | 939 #endif |
937 | 940 |
938 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; | 941 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; |
939 } | 942 } |
OLD | NEW |