| 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 "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/cancelable_callback.h" | 8 #include "base/cancelable_callback.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/prefs/pref_service.h" | |
| 16 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 17 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
| 18 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
| 19 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
| 20 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
| 21 #include "base/test/test_timeouts.h" | 20 #include "base/test/test_timeouts.h" |
| 22 #include "base/thread_task_runner_handle.h" | 21 #include "base/thread_task_runner_handle.h" |
| 23 #include "build/build_config.h" | 22 #include "build/build_config.h" |
| 24 #include "chrome/browser/chrome_notification_types.h" | 23 #include "chrome/browser/chrome_notification_types.h" |
| 25 #include "chrome/browser/devtools/device/tcp_device_provider.h" | 24 #include "chrome/browser/devtools/device/tcp_device_provider.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 36 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 35 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 37 #include "chrome/common/chrome_paths.h" | 36 #include "chrome/common/chrome_paths.h" |
| 38 #include "chrome/common/chrome_switches.h" | 37 #include "chrome/common/chrome_switches.h" |
| 39 #include "chrome/common/pref_names.h" | 38 #include "chrome/common/pref_names.h" |
| 40 #include "chrome/common/url_constants.h" | 39 #include "chrome/common/url_constants.h" |
| 41 #include "chrome/test/base/in_process_browser_test.h" | 40 #include "chrome/test/base/in_process_browser_test.h" |
| 42 #include "chrome/test/base/test_switches.h" | 41 #include "chrome/test/base/test_switches.h" |
| 43 #include "chrome/test/base/ui_test_utils.h" | 42 #include "chrome/test/base/ui_test_utils.h" |
| 44 #include "components/app_modal/javascript_app_modal_dialog.h" | 43 #include "components/app_modal/javascript_app_modal_dialog.h" |
| 45 #include "components/app_modal/native_app_modal_dialog.h" | 44 #include "components/app_modal/native_app_modal_dialog.h" |
| 45 #include "components/prefs/pref_service.h" |
| 46 #include "content/public/browser/child_process_data.h" | 46 #include "content/public/browser/child_process_data.h" |
| 47 #include "content/public/browser/content_browser_client.h" | 47 #include "content/public/browser/content_browser_client.h" |
| 48 #include "content/public/browser/devtools_agent_host.h" | 48 #include "content/public/browser/devtools_agent_host.h" |
| 49 #include "content/public/browser/notification_registrar.h" | 49 #include "content/public/browser/notification_registrar.h" |
| 50 #include "content/public/browser/notification_service.h" | 50 #include "content/public/browser/notification_service.h" |
| 51 #include "content/public/browser/render_view_host.h" | 51 #include "content/public/browser/render_view_host.h" |
| 52 #include "content/public/browser/web_contents.h" | 52 #include "content/public/browser/web_contents.h" |
| 53 #include "content/public/browser/worker_service.h" | 53 #include "content/public/browser/worker_service.h" |
| 54 #include "content/public/browser/worker_service_observer.h" | 54 #include "content/public/browser/worker_service_observer.h" |
| 55 #include "content/public/common/content_switches.h" | 55 #include "content/public/common/content_switches.h" |
| (...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 (defined(OS_CHROMEOS) && defined(OFFICIAL_BUILD)) | 1130 (defined(OS_CHROMEOS) && defined(OFFICIAL_BUILD)) |
| 1131 #define MAYBE_TestScreenshotRecording DISABLED_TestScreenshotRecording | 1131 #define MAYBE_TestScreenshotRecording DISABLED_TestScreenshotRecording |
| 1132 #else | 1132 #else |
| 1133 #define MAYBE_TestScreenshotRecording TestScreenshotRecording | 1133 #define MAYBE_TestScreenshotRecording TestScreenshotRecording |
| 1134 #endif | 1134 #endif |
| 1135 // Tests raw headers text. | 1135 // Tests raw headers text. |
| 1136 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests, | 1136 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests, |
| 1137 MAYBE_TestScreenshotRecording) { | 1137 MAYBE_TestScreenshotRecording) { |
| 1138 RunTest("testScreenshotRecording", std::string()); | 1138 RunTest("testScreenshotRecording", std::string()); |
| 1139 } | 1139 } |
| OLD | NEW |