Description[Sync] Add per-navigation timestamps/unique ids to tab sync.
A navigation's timestamps are updated only if the navigation is new
or if the user recently moved back/foward to the navigation entry.
Otherwise, we preserve old timestamps.
To do this, we switch to using SyncedTabNavigations, which also contains
the unique id of the navigation (pulled from NavigationEntry) and the
timestamp of the navgation, and SyncedSessionTab (which we have to
use in order to support SyncedTabNavigations).
Lastly, the protos have been updated to include unique_id/timestamp per
navigation, remove some obsolete fields that were unimportant, and add
comments about what transitions mean and when they're set.
BUG=98892
TEST=unit_tests, manually inspecting timestamps in sync node browser.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133942
Patch Set 1 #Patch Set 2 : Self review #Patch Set 3 : nit #
Total comments: 2
Patch Set 4 : Rebase #
Total comments: 6
Patch Set 5 : Address comments #Messages
Total messages: 9 (0 generated)
|