| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/navigation_request.h" | 5 #include "content/browser/frame_host/navigation_request.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/ptr_util.h" |
| 9 #include "content/browser/appcache/appcache_navigation_handle.h" | 10 #include "content/browser/appcache/appcache_navigation_handle.h" |
| 10 #include "content/browser/appcache/chrome_appcache_service.h" | 11 #include "content/browser/appcache/chrome_appcache_service.h" |
| 11 #include "content/browser/child_process_security_policy_impl.h" | 12 #include "content/browser/child_process_security_policy_impl.h" |
| 12 #include "content/browser/devtools/render_frame_devtools_agent_host.h" | 13 #include "content/browser/devtools/render_frame_devtools_agent_host.h" |
| 13 #include "content/browser/frame_host/frame_tree.h" | 14 #include "content/browser/frame_host/frame_tree.h" |
| 14 #include "content/browser/frame_host/frame_tree_node.h" | 15 #include "content/browser/frame_host/frame_tree_node.h" |
| 15 #include "content/browser/frame_host/navigation_controller_impl.h" | 16 #include "content/browser/frame_host/navigation_controller_impl.h" |
| 16 #include "content/browser/frame_host/navigation_handle_impl.h" | 17 #include "content/browser/frame_host/navigation_handle_impl.h" |
| 17 #include "content/browser/frame_host/navigation_request_info.h" | 18 #include "content/browser/frame_host/navigation_request_info.h" |
| 18 #include "content/browser/frame_host/navigator.h" | 19 #include "content/browser/frame_host/navigator.h" |
| (...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 DCHECK_EQ(request_params_.has_user_gesture, begin_params_.has_user_gesture); | 688 DCHECK_EQ(request_params_.has_user_gesture, begin_params_.has_user_gesture); |
| 688 | 689 |
| 689 render_frame_host->CommitNavigation(response_.get(), std::move(body_), | 690 render_frame_host->CommitNavigation(response_.get(), std::move(body_), |
| 690 common_params_, request_params_, | 691 common_params_, request_params_, |
| 691 is_view_source_); | 692 is_view_source_); |
| 692 | 693 |
| 693 frame_tree_node_->ResetNavigationRequest(true); | 694 frame_tree_node_->ResetNavigationRequest(true); |
| 694 } | 695 } |
| 695 | 696 |
| 696 } // namespace content | 697 } // namespace content |
| OLD | NEW |