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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
19 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
20 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
21 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
23 #include "base/test/test_timeouts.h" | 23 #include "base/test/test_timeouts.h" |
| 24 #include "base/threading/sequenced_worker_pool.h" |
24 #include "base/threading/thread_task_runner_handle.h" | 25 #include "base/threading/thread_task_runner_handle.h" |
25 #include "build/build_config.h" | 26 #include "build/build_config.h" |
26 #include "chrome/browser/chrome_notification_types.h" | 27 #include "chrome/browser/chrome_notification_types.h" |
27 #include "chrome/browser/devtools/device/tcp_device_provider.h" | 28 #include "chrome/browser/devtools/device/tcp_device_provider.h" |
28 #include "chrome/browser/devtools/devtools_window_testing.h" | 29 #include "chrome/browser/devtools/devtools_window_testing.h" |
29 #include "chrome/browser/extensions/extension_apitest.h" | 30 #include "chrome/browser/extensions/extension_apitest.h" |
30 #include "chrome/browser/extensions/extension_browsertest.h" | 31 #include "chrome/browser/extensions/extension_browsertest.h" |
31 #include "chrome/browser/extensions/extension_service.h" | 32 #include "chrome/browser/extensions/extension_service.h" |
32 #include "chrome/browser/extensions/test_extension_dir.h" | 33 #include "chrome/browser/extensions/test_extension_dir.h" |
33 #include "chrome/browser/extensions/unpacked_installer.h" | 34 #include "chrome/browser/extensions/unpacked_installer.h" |
(...skipping 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 RunTestFunction(window, "testWindowInitializedOnNavigateBack"); | 1566 RunTestFunction(window, "testWindowInitializedOnNavigateBack"); |
1566 | 1567 |
1567 DevToolsWindowTesting::CloseDevToolsWindowSync(window); | 1568 DevToolsWindowTesting::CloseDevToolsWindowSync(window); |
1568 content::WebUIControllerFactory::UnregisterFactoryForTesting(&test_factory); | 1569 content::WebUIControllerFactory::UnregisterFactoryForTesting(&test_factory); |
1569 } | 1570 } |
1570 | 1571 |
1571 // Tests scripts panel showing. | 1572 // Tests scripts panel showing. |
1572 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDevToolsSharedWorker) { | 1573 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDevToolsSharedWorker) { |
1573 RunTest("testDevToolsSharedWorker", url::kAboutBlankURL); | 1574 RunTest("testDevToolsSharedWorker", url::kAboutBlankURL); |
1574 } | 1575 } |
1575 | |
OLD | NEW |