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

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

Issue 1294243004: PlzNavigate: Make ServiceWorker work with PlzNavigate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 months 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index 1adb2be5d700a2f168971c42864488bf3594f81b..729f45aae4a97698c08ef7ec35ab0e3d3077dea6 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -484,7 +484,8 @@ RequestNavigationParams NavigationEntryImpl::ConstructRequestNavigationParams(
bool intended_as_new_entry,
int pending_history_list_offset,
int current_history_list_offset,
- int current_history_list_length) const {
+ int current_history_list_length,
+ int service_worker_provider_id) const {
// Set the redirect chain to the navigation's redirects, unless returning to a
// completed navigation (whose previous redirects don't apply).
std::vector<GURL> redirects;
@@ -509,7 +510,7 @@ RequestNavigationParams NavigationEntryImpl::ConstructRequestNavigationParams(
GetPageID(), GetUniqueID(), is_same_document_history_load,
has_committed_real_load, intended_as_new_entry, pending_offset_to_send,
current_offset_to_send, current_length_to_send,
- should_clear_history_list());
+ should_clear_history_list(), service_worker_provider_id);
}
void NavigationEntryImpl::ResetForCommit() {

Powered by Google App Engine
This is Rietveld 408576698