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

Unified Diff: components/sync/protocol/session_specifics.proto

Issue 2776633003: Add taskid for navigation, created in session sync (Closed)
Patch Set: Add taskids for navigation, created in session sync. Created 3 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 | « no previous file | components/sync_sessions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/protocol/session_specifics.proto
diff --git a/components/sync/protocol/session_specifics.proto b/components/sync/protocol/session_specifics.proto
index 0c8095d2233ef791c9627d4a028e3d5c3e8a4b8a..4039bbd453ee88a54230e8b75955073333849922 100644
--- a/components/sync/protocol/session_specifics.proto
+++ b/components/sync/protocol/session_specifics.proto
@@ -156,6 +156,18 @@ message TabNavigation {
}
// Whether the Password Manager saw a password field on the page.
optional PasswordState password_state = 26;
+
+ // The id for the task associated with this navigation, which is globally
+ // unique with high probability.
+ // Similar with global_id, but used to identify a navigation in Chrome Tasks,
+ // so navigations of a page have the same task_id if one is the first visit of
+ // the page, and others are its back/forward visits.
+ optional int64 task_id = 27;
+ // Task ids of all ancestor navigations, which can be from other tabs, from
+ // root to parent. We define navigation A is parent of navigation B if page of
+ // B is got by clicking a link on page of A. This relationship is used to
+ // define a Chrome Task as a tree rooted by a navigation.
+ repeated int64 ancestor_task_id = 28;
}
// Navigation information for a single redirection within a single navigation.
« no previous file with comments | « no previous file | components/sync_sessions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698