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

Unified Diff: content/public/common/frame_navigate_params.h

Issue 1184423005: Add item and document sequence numbers to FrameNavigationEntry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/public/common/frame_navigate_params.h
diff --git a/content/public/common/frame_navigate_params.h b/content/public/common/frame_navigate_params.h
index 884a1d1b6d2ff76eb9debc05e0ee453d34908f01..8a2ba41e1a4f6b6b149ce7356893dc7470fb243c 100644
--- a/content/public/common/frame_navigate_params.h
+++ b/content/public/common/frame_navigate_params.h
@@ -33,6 +33,16 @@ struct CONTENT_EXPORT FrameNavigateParams {
// means. If the navigation was renderer-initiated, this value is 0.
int nav_entry_id;
+ // The item sequence number identifies each stop in the session history
+ // and is globally unique.
+ int64 item_sequence_number;
+
+ // The document sequence number is ssed to identify cross-document navigations
+ // in session history. It increments for each new document and is globally
+ // unique. In-page navigations get a new item sequence number but the same
+ // document sequence number.
+ int64 document_sequence_number;
+
Avi (use Gerrit) 2015/06/18 00:57:00 If these are generated deep in Blink in a renderer
Charlie Reis 2015/06/18 20:30:18 They get serialized into session restore data, so
// URL of the page being loaded.
GURL url;

Powered by Google App Engine
This is Rietveld 408576698