Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: content/common/navigation_params.cc

Issue 2454233002: Fix history nav to a script-injected about:blank frame. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/navigation_params.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/common/navigation_params.h" 5 #include "content/common/navigation_params.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/service_worker/service_worker_types.h" 9 #include "content/common/service_worker/service_worker_types.h"
10 #include "content/public/common/browser_side_navigation_policy.h" 10 #include "content/public/common/browser_side_navigation_policy.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 RequestNavigationParams::RequestNavigationParams( 151 RequestNavigationParams::RequestNavigationParams(
152 bool is_overriding_user_agent, 152 bool is_overriding_user_agent,
153 const std::vector<GURL>& redirects, 153 const std::vector<GURL>& redirects,
154 bool can_load_local_resources, 154 bool can_load_local_resources,
155 base::Time request_time, 155 base::Time request_time,
156 const PageState& page_state, 156 const PageState& page_state,
157 int32_t page_id, 157 int32_t page_id,
158 int nav_entry_id, 158 int nav_entry_id,
159 bool is_same_document_history_load, 159 bool is_same_document_history_load,
160 bool is_history_navigation_in_new_child, 160 bool is_history_navigation_in_new_child,
161 std::set<std::string> subframe_unique_names, 161 std::map<std::string, bool> subframe_unique_names,
162 bool has_committed_real_load, 162 bool has_committed_real_load,
163 bool intended_as_new_entry, 163 bool intended_as_new_entry,
164 int pending_history_list_offset, 164 int pending_history_list_offset,
165 int current_history_list_offset, 165 int current_history_list_offset,
166 int current_history_list_length, 166 int current_history_list_length,
167 bool is_view_source, 167 bool is_view_source,
168 bool should_clear_history_list) 168 bool should_clear_history_list)
169 : is_overriding_user_agent(is_overriding_user_agent), 169 : is_overriding_user_agent(is_overriding_user_agent),
170 redirects(redirects), 170 redirects(redirects),
171 can_load_local_resources(can_load_local_resources), 171 can_load_local_resources(can_load_local_resources),
(...skipping 25 matching lines...) Expand all
197 const RequestNavigationParams& request_params) 197 const RequestNavigationParams& request_params)
198 : common_params(common_params), 198 : common_params(common_params),
199 start_params(start_params), 199 start_params(start_params),
200 request_params(request_params) { 200 request_params(request_params) {
201 } 201 }
202 202
203 NavigationParams::~NavigationParams() { 203 NavigationParams::~NavigationParams() {
204 } 204 }
205 205
206 } // namespace content 206 } // namespace content
OLDNEW
« no previous file with comments | « content/common/navigation_params.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698