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

Unified Diff: sync/protocol/session_specifics.proto

Issue 10125002: [Sync] Add per-navigation timestamps/unique ids to tab sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 8 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 | « sync/protocol/proto_value_conversions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/session_specifics.proto
diff --git a/sync/protocol/session_specifics.proto b/sync/protocol/session_specifics.proto
index e2b441d86149106b125481b5ebf5c92d2b6f483d..43892435ccbb8b3067979cf841897835e5cba8cf 100644
--- a/sync/protocol/session_specifics.proto
+++ b/sync/protocol/session_specifics.proto
@@ -91,7 +91,7 @@ message SessionTab {
message TabNavigation {
// The index in the NavigationController. If this is -1, it means this
// TabNavigation is bogus.
- optional int32 index = 1 [default = -1];
+ // optional int32 index = 1 [default = -1]; // obsolete.
// The virtual URL, when nonempty, will override the actual URL of the page
// when we display it to the user.
optional string virtual_url = 2;
@@ -126,5 +126,10 @@ message TabNavigation {
}
optional PageTransition page_transition = 6 [default = TYPED];
optional PageTransitionQualifier navigation_qualifier = 7;
+ // The unique navigation id (within this client).
+ optional int32 unique_id = 8;
+ // Timestamp for when this navigation last occurred (in client time).
+ // If the user goes back/foward in history the timestamp may refresh.
+ optional int64 timestamp = 9;
}
« no previous file with comments | « sync/protocol/proto_value_conversions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698