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 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/cancelable_callback.h" | 11 #include "base/cancelable_callback.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ptr_util.h" | 17 #include "base/memory/ptr_util.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 19 #include "base/message_loop/message_loop.h" |
19 #include "base/path_service.h" | 20 #include "base/path_service.h" |
20 #include "base/single_thread_task_runner.h" | 21 #include "base/single_thread_task_runner.h" |
21 #include "base/strings/string_number_conversions.h" | 22 #include "base/strings/string_number_conversions.h" |
22 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
23 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
24 #include "base/task_scheduler/post_task.h" | 25 #include "base/task_scheduler/post_task.h" |
25 #include "base/test/test_timeouts.h" | 26 #include "base/test/test_timeouts.h" |
26 #include "base/threading/thread_restrictions.h" | 27 #include "base/threading/thread_restrictions.h" |
27 #include "base/threading/thread_task_runner_handle.h" | 28 #include "base/threading/thread_task_runner_handle.h" |
28 #include "build/build_config.h" | 29 #include "build/build_config.h" |
(...skipping 2043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 RunTestFunction(window, "testWindowInitializedOnNavigateBack"); | 2073 RunTestFunction(window, "testWindowInitializedOnNavigateBack"); |
2073 | 2074 |
2074 DevToolsWindowTesting::CloseDevToolsWindowSync(window); | 2075 DevToolsWindowTesting::CloseDevToolsWindowSync(window); |
2075 content::WebUIControllerFactory::UnregisterFactoryForTesting(&test_factory); | 2076 content::WebUIControllerFactory::UnregisterFactoryForTesting(&test_factory); |
2076 } | 2077 } |
2077 | 2078 |
2078 // Tests scripts panel showing. | 2079 // Tests scripts panel showing. |
2079 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDevToolsSharedWorker) { | 2080 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDevToolsSharedWorker) { |
2080 RunTest("testDevToolsSharedWorker", url::kAboutBlankURL); | 2081 RunTest("testDevToolsSharedWorker", url::kAboutBlankURL); |
2081 } | 2082 } |
OLD | NEW |