| 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 "content/browser/devtools/render_frame_devtools_agent_host.h" | 9 #include "content/browser/devtools/render_frame_devtools_agent_host.h" |
| 10 #include "content/browser/frame_host/frame_tree.h" | 10 #include "content/browser/frame_host/frame_tree.h" |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 RequestNavigationParams request_params( | 182 RequestNavigationParams request_params( |
| 183 false, // is_overriding_user_agent | 183 false, // is_overriding_user_agent |
| 184 std::vector<GURL>(), // redirects | 184 std::vector<GURL>(), // redirects |
| 185 false, // can_load_local_resources | 185 false, // can_load_local_resources |
| 186 base::Time::Now(), // request_time | 186 base::Time::Now(), // request_time |
| 187 PageState(), // page_state | 187 PageState(), // page_state |
| 188 -1, // page_id | 188 -1, // page_id |
| 189 0, // nav_entry_id | 189 0, // nav_entry_id |
| 190 false, // is_same_document_history_load | 190 false, // is_same_document_history_load |
| 191 false, // is_history_navigation_in_new_child | 191 false, // is_history_navigation_in_new_child |
| 192 std::set<std::string>(), // subframe_unique_names | 192 std::map<std::string, bool>(), // subframe_unique_names |
| 193 frame_tree_node->has_committed_real_load(), | 193 frame_tree_node->has_committed_real_load(), |
| 194 false, // intended_as_new_entry | 194 false, // intended_as_new_entry |
| 195 -1, // pending_history_list_offset | 195 -1, // pending_history_list_offset |
| 196 current_history_list_offset, current_history_list_length, | 196 current_history_list_offset, current_history_list_length, |
| 197 false, // is_view_source | 197 false, // is_view_source |
| 198 false, // should_clear_history_list | 198 false, // should_clear_history_list |
| 199 begin_params.has_user_gesture); | 199 begin_params.has_user_gesture); |
| 200 std::unique_ptr<NavigationRequest> navigation_request( | 200 std::unique_ptr<NavigationRequest> navigation_request( |
| 201 new NavigationRequest(frame_tree_node, common_params, begin_params, | 201 new NavigationRequest(frame_tree_node, common_params, begin_params, |
| 202 request_params, false, nullptr, nullptr)); | 202 request_params, false, nullptr, nullptr)); |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 DCHECK_EQ(request_params_.has_user_gesture, begin_params_.has_user_gesture); | 555 DCHECK_EQ(request_params_.has_user_gesture, begin_params_.has_user_gesture); |
| 556 | 556 |
| 557 render_frame_host->CommitNavigation(response_.get(), std::move(body_), | 557 render_frame_host->CommitNavigation(response_.get(), std::move(body_), |
| 558 common_params_, request_params_, | 558 common_params_, request_params_, |
| 559 is_view_source_); | 559 is_view_source_); |
| 560 | 560 |
| 561 frame_tree_node_->ResetNavigationRequest(true); | 561 frame_tree_node_->ResetNavigationRequest(true); |
| 562 } | 562 } |
| 563 | 563 |
| 564 } // namespace content | 564 } // namespace content |
| OLD | NEW |