| 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" |
| 11 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
| 12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "base/test/test_timeouts.h" | 14 #include "base/test/test_timeouts.h" |
| 15 #include "chrome/browser/chrome_notification_types.h" | 15 #include "chrome/browser/chrome_notification_types.h" |
| 16 #include "chrome/browser/devtools/browser_list_tabcontents_provider.h" | 16 #include "chrome/browser/devtools/browser_list_tabcontents_provider.h" |
| 17 #include "chrome/browser/devtools/devtools_window.h" | 17 #include "chrome/browser/devtools/devtools_window.h" |
| 18 #include "chrome/browser/extensions/extension_apitest.h" | 18 #include "chrome/browser/extensions/extension_apitest.h" |
| 19 #include "chrome/browser/extensions/extension_browsertest.h" | 19 #include "chrome/browser/extensions/extension_browsertest.h" |
| 20 #include "chrome/browser/extensions/extension_service.h" | 20 #include "chrome/browser/extensions/extension_service.h" |
| 21 #include "chrome/browser/extensions/extension_system.h" | |
| 22 #include "chrome/browser/extensions/unpacked_installer.h" | 21 #include "chrome/browser/extensions/unpacked_installer.h" |
| 23 #include "chrome/browser/lifetime/application_lifetime.h" | 22 #include "chrome/browser/lifetime/application_lifetime.h" |
| 24 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
| 25 #include "chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h" | 24 #include "chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h" |
| 26 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" | 25 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" |
| 27 #include "chrome/browser/ui/browser.h" | 26 #include "chrome/browser/ui/browser.h" |
| 28 #include "chrome/browser/ui/browser_commands.h" | 27 #include "chrome/browser/ui/browser_commands.h" |
| 29 #include "chrome/browser/ui/browser_iterator.h" | 28 #include "chrome/browser/ui/browser_iterator.h" |
| 30 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 29 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 31 #include "chrome/common/chrome_paths.h" | 30 #include "chrome/common/chrome_paths.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 42 #include "content/public/browser/devtools_http_handler.h" | 41 #include "content/public/browser/devtools_http_handler.h" |
| 43 #include "content/public/browser/devtools_manager.h" | 42 #include "content/public/browser/devtools_manager.h" |
| 44 #include "content/public/browser/notification_registrar.h" | 43 #include "content/public/browser/notification_registrar.h" |
| 45 #include "content/public/browser/notification_service.h" | 44 #include "content/public/browser/notification_service.h" |
| 46 #include "content/public/browser/render_view_host.h" | 45 #include "content/public/browser/render_view_host.h" |
| 47 #include "content/public/browser/web_contents.h" | 46 #include "content/public/browser/web_contents.h" |
| 48 #include "content/public/browser/worker_service.h" | 47 #include "content/public/browser/worker_service.h" |
| 49 #include "content/public/browser/worker_service_observer.h" | 48 #include "content/public/browser/worker_service_observer.h" |
| 50 #include "content/public/common/content_switches.h" | 49 #include "content/public/common/content_switches.h" |
| 51 #include "content/public/test/browser_test_utils.h" | 50 #include "content/public/test/browser_test_utils.h" |
| 51 #include "extensions/browser/extension_system.h" |
| 52 #include "extensions/common/switches.h" | 52 #include "extensions/common/switches.h" |
| 53 #include "net/socket/tcp_listen_socket.h" | 53 #include "net/socket/tcp_listen_socket.h" |
| 54 #include "net/test/spawned_test_server/spawned_test_server.h" | 54 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 55 | 55 |
| 56 using content::BrowserThread; | 56 using content::BrowserThread; |
| 57 using content::DevToolsManager; | 57 using content::DevToolsManager; |
| 58 using content::DevToolsAgentHost; | 58 using content::DevToolsAgentHost; |
| 59 using content::NavigationController; | 59 using content::NavigationController; |
| 60 using content::RenderViewHost; | 60 using content::RenderViewHost; |
| 61 using content::WebContents; | 61 using content::WebContents; |
| (...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 | 988 |
| 989 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { | 989 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { |
| 990 #if defined(OS_WIN) && defined(USE_ASH) | 990 #if defined(OS_WIN) && defined(USE_ASH) |
| 991 // Disable this test in Metro+Ash for now (http://crbug.com/262796). | 991 // Disable this test in Metro+Ash for now (http://crbug.com/262796). |
| 992 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) | 992 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) |
| 993 return; | 993 return; |
| 994 #endif | 994 #endif |
| 995 | 995 |
| 996 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; | 996 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; |
| 997 } | 997 } |
| OLD | NEW |