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

Unified Diff: content/common/navigation_params.h

Issue 1415603018: OOPIF: Support session restore by combining/splitting frame states. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up and fix bugs Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.h
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h
index d4f88dc6c9951d895a980d8db6e985493b340967..81d46088c3d34ceb522cd3954c5c65de8d65f9a7 100644
--- a/content/common/navigation_params.h
+++ b/content/common/navigation_params.h
@@ -11,6 +11,7 @@
#include "base/time/time.h"
#include "content/common/content_export.h"
#include "content/common/frame_message_enums.h"
+#include "content/common/page_state_serialization.h"
#include "content/public/common/page_state.h"
#include "content/public/common/referrer.h"
#include "content/public/common/request_context_type.h"
@@ -216,6 +217,7 @@ struct CONTENT_EXPORT RequestNavigationParams {
bool can_load_local_resources,
base::Time request_time,
const PageState& page_state,
+ const ExplodedFrameState& frame_state,
int32 page_id,
int nav_entry_id,
bool is_same_document_history_load,
@@ -244,8 +246,13 @@ struct CONTENT_EXPORT RequestNavigationParams {
base::Time request_time;
// Opaque history state (received by ViewHostMsg_UpdateState).
+ // Only used if SiteIsolationPolicy::UseSubframeNavigationEntries is false.
PageState page_state;
+ // History state for this frame.
+ // Only used if SiteIsolationPolicy::UseSubframeNavigationEntries is true.
+ ExplodedFrameState frame_state;
+
// The page_id for this navigation, or -1 if it is a new navigation. Back,
// Forward, and Reload navigations should have a valid page_id. If the load
// succeeds, then this page_id will be reflected in the resultant
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698