| 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" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "chrome/browser/extensions/extension_service.h" | 34 #include "chrome/browser/extensions/extension_service.h" |
| 35 #include "chrome/browser/extensions/test_extension_dir.h" | 35 #include "chrome/browser/extensions/test_extension_dir.h" |
| 36 #include "chrome/browser/extensions/unpacked_installer.h" | 36 #include "chrome/browser/extensions/unpacked_installer.h" |
| 37 #include "chrome/browser/lifetime/application_lifetime.h" | 37 #include "chrome/browser/lifetime/application_lifetime.h" |
| 38 #include "chrome/browser/profiles/profile.h" | 38 #include "chrome/browser/profiles/profile.h" |
| 39 #include "chrome/browser/ui/browser.h" | 39 #include "chrome/browser/ui/browser.h" |
| 40 #include "chrome/browser/ui/browser_commands.h" | 40 #include "chrome/browser/ui/browser_commands.h" |
| 41 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 41 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 42 #include "chrome/common/chrome_paths.h" | 42 #include "chrome/common/chrome_paths.h" |
| 43 #include "chrome/common/chrome_switches.h" | 43 #include "chrome/common/chrome_switches.h" |
| 44 #include "chrome/common/extensions/extension_process_policy.h" | |
| 45 #include "chrome/common/pref_names.h" | 44 #include "chrome/common/pref_names.h" |
| 46 #include "chrome/common/url_constants.h" | 45 #include "chrome/common/url_constants.h" |
| 47 #include "chrome/test/base/in_process_browser_test.h" | 46 #include "chrome/test/base/in_process_browser_test.h" |
| 48 #include "chrome/test/base/test_chrome_web_ui_controller_factory.h" | 47 #include "chrome/test/base/test_chrome_web_ui_controller_factory.h" |
| 49 #include "chrome/test/base/ui_test_utils.h" | 48 #include "chrome/test/base/ui_test_utils.h" |
| 50 #include "components/app_modal/javascript_app_modal_dialog.h" | 49 #include "components/app_modal/javascript_app_modal_dialog.h" |
| 51 #include "components/app_modal/native_app_modal_dialog.h" | 50 #include "components/app_modal/native_app_modal_dialog.h" |
| 52 #include "components/prefs/pref_service.h" | 51 #include "components/prefs/pref_service.h" |
| 53 #include "content/public/browser/child_process_data.h" | 52 #include "content/public/browser/child_process_data.h" |
| 54 #include "content/public/browser/content_browser_client.h" | 53 #include "content/public/browser/content_browser_client.h" |
| (...skipping 2017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2072 RunTestFunction(window, "testWindowInitializedOnNavigateBack"); | 2071 RunTestFunction(window, "testWindowInitializedOnNavigateBack"); |
| 2073 | 2072 |
| 2074 DevToolsWindowTesting::CloseDevToolsWindowSync(window); | 2073 DevToolsWindowTesting::CloseDevToolsWindowSync(window); |
| 2075 content::WebUIControllerFactory::UnregisterFactoryForTesting(&test_factory); | 2074 content::WebUIControllerFactory::UnregisterFactoryForTesting(&test_factory); |
| 2076 } | 2075 } |
| 2077 | 2076 |
| 2078 // Tests scripts panel showing. | 2077 // Tests scripts panel showing. |
| 2079 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDevToolsSharedWorker) { | 2078 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDevToolsSharedWorker) { |
| 2080 RunTest("testDevToolsSharedWorker", url::kAboutBlankURL); | 2079 RunTest("testDevToolsSharedWorker", url::kAboutBlankURL); |
| 2081 } | 2080 } |
| OLD | NEW |