| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/frame_host/render_frame_host_manager.h" | 5 #include "content/browser/frame_host/render_frame_host_manager.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <tuple> | 9 #include <tuple> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/test/histogram_tester.h" | 17 #include "base/test/histogram_tester.h" |
| 18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "content/browser/frame_host/cross_site_transferring_request.h" |
| 20 #include "content/browser/frame_host/navigation_controller_impl.h" | 21 #include "content/browser/frame_host/navigation_controller_impl.h" |
| 21 #include "content/browser/frame_host/navigation_entry_impl.h" | 22 #include "content/browser/frame_host/navigation_entry_impl.h" |
| 22 #include "content/browser/frame_host/navigation_request.h" | 23 #include "content/browser/frame_host/navigation_request.h" |
| 23 #include "content/browser/frame_host/navigator.h" | 24 #include "content/browser/frame_host/navigator.h" |
| 24 #include "content/browser/frame_host/render_frame_proxy_host.h" | 25 #include "content/browser/frame_host/render_frame_proxy_host.h" |
| 25 #include "content/browser/site_instance_impl.h" | 26 #include "content/browser/site_instance_impl.h" |
| 26 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 27 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
| 27 #include "content/common/frame_messages.h" | 28 #include "content/common/frame_messages.h" |
| 28 #include "content/common/frame_owner_properties.h" | 29 #include "content/common/frame_owner_properties.h" |
| 29 #include "content/common/input_messages.h" | 30 #include "content/common/input_messages.h" |
| (...skipping 3061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3091 child_host->SendNavigateWithParams(&commit_params); | 3092 child_host->SendNavigateWithParams(&commit_params); |
| 3092 EXPECT_NO_FATAL_FAILURE(CheckInsecureRequestPolicyIPC( | 3093 EXPECT_NO_FATAL_FAILURE(CheckInsecureRequestPolicyIPC( |
| 3093 main_test_rfh(), blink::kLeaveInsecureRequestsAlone, | 3094 main_test_rfh(), blink::kLeaveInsecureRequestsAlone, |
| 3094 proxy_to_parent->GetRoutingID())); | 3095 proxy_to_parent->GetRoutingID())); |
| 3095 EXPECT_EQ( | 3096 EXPECT_EQ( |
| 3096 blink::kLeaveInsecureRequestsAlone, | 3097 blink::kLeaveInsecureRequestsAlone, |
| 3097 root->child_at(0)->current_replication_state().insecure_request_policy); | 3098 root->child_at(0)->current_replication_state().insecure_request_policy); |
| 3098 } | 3099 } |
| 3099 | 3100 |
| 3100 } // namespace content | 3101 } // namespace content |
| OLD | NEW |