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

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

Issue 2550113002: Send a subtree of same-process PageStates for back/forward child frames.
Patch Set: Rebase Created 4 years 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/appcache_info.h" 10 #include "content/public/common/appcache_info.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 appcache_host_id(kAppCacheNoHostId) {} 139 appcache_host_id(kAppCacheNoHostId) {}
140 140
141 RequestNavigationParams::RequestNavigationParams( 141 RequestNavigationParams::RequestNavigationParams(
142 bool is_overriding_user_agent, 142 bool is_overriding_user_agent,
143 const std::vector<GURL>& redirects, 143 const std::vector<GURL>& redirects,
144 bool can_load_local_resources, 144 bool can_load_local_resources,
145 const PageState& page_state, 145 const PageState& page_state,
146 int nav_entry_id, 146 int nav_entry_id,
147 bool is_same_document_history_load, 147 bool is_same_document_history_load,
148 bool is_history_navigation_in_new_child, 148 bool is_history_navigation_in_new_child,
149 std::map<std::string, bool> subframe_unique_names, 149 std::map<std::string, PageState> subtree_page_states,
150 bool has_committed_real_load, 150 bool has_committed_real_load,
151 bool intended_as_new_entry, 151 bool intended_as_new_entry,
152 int pending_history_list_offset, 152 int pending_history_list_offset,
153 int current_history_list_offset, 153 int current_history_list_offset,
154 int current_history_list_length, 154 int current_history_list_length,
155 bool is_view_source, 155 bool is_view_source,
156 bool should_clear_history_list) 156 bool should_clear_history_list)
157 : is_overriding_user_agent(is_overriding_user_agent), 157 : is_overriding_user_agent(is_overriding_user_agent),
158 redirects(redirects), 158 redirects(redirects),
159 can_load_local_resources(can_load_local_resources), 159 can_load_local_resources(can_load_local_resources),
160 page_state(page_state), 160 page_state(page_state),
161 nav_entry_id(nav_entry_id), 161 nav_entry_id(nav_entry_id),
162 is_same_document_history_load(is_same_document_history_load), 162 is_same_document_history_load(is_same_document_history_load),
163 is_history_navigation_in_new_child(is_history_navigation_in_new_child), 163 is_history_navigation_in_new_child(is_history_navigation_in_new_child),
164 subframe_unique_names(subframe_unique_names), 164 subtree_page_states(subtree_page_states),
165 has_committed_real_load(has_committed_real_load), 165 has_committed_real_load(has_committed_real_load),
166 intended_as_new_entry(intended_as_new_entry), 166 intended_as_new_entry(intended_as_new_entry),
167 pending_history_list_offset(pending_history_list_offset), 167 pending_history_list_offset(pending_history_list_offset),
168 current_history_list_offset(current_history_list_offset), 168 current_history_list_offset(current_history_list_offset),
169 current_history_list_length(current_history_list_length), 169 current_history_list_length(current_history_list_length),
170 is_view_source(is_view_source), 170 is_view_source(is_view_source),
171 should_clear_history_list(should_clear_history_list), 171 should_clear_history_list(should_clear_history_list),
172 should_create_service_worker(false), 172 should_create_service_worker(false),
173 service_worker_provider_id(kInvalidServiceWorkerProviderId), 173 service_worker_provider_id(kInvalidServiceWorkerProviderId),
174 appcache_host_id(kAppCacheNoHostId) {} 174 appcache_host_id(kAppCacheNoHostId) {}
(...skipping 10 matching lines...) Expand all
185 const RequestNavigationParams& request_params) 185 const RequestNavigationParams& request_params)
186 : common_params(common_params), 186 : common_params(common_params),
187 start_params(start_params), 187 start_params(start_params),
188 request_params(request_params) { 188 request_params(request_params) {
189 } 189 }
190 190
191 NavigationParams::~NavigationParams() { 191 NavigationParams::~NavigationParams() {
192 } 192 }
193 193
194 } // namespace content 194 } // 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