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

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: Add const; git cl format 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/common/frame_navigate_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e3b93342eda2c3e2eac1fe4a8023e418a037e9bc 100644
--- a/content/public/common/frame_navigate_params.h
+++ b/content/public/common/frame_navigate_params.h
@@ -33,6 +33,17 @@ 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. It
+ // is unique within the renderer process and makes a best effort to be unique
+ // across browser sessions (using a renderer process timestamp).
+ int64 item_sequence_number;
+
+ // The document sequence number is used to identify cross-document navigations
+ // in session history. It increments for each new document and is unique in
+ // the same way as |item_sequence_number|. In-page navigations get a new item
+ // sequence number but the same document sequence number.
+ int64 document_sequence_number;
+
// URL of the page being loaded.
GURL url;
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/common/frame_navigate_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698