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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/sync_sessions/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Sync protocol datatype extension for sessions. 5 // Sync protocol datatype extension for sessions.
6 6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // third_party/WebKit/public/platform/WebReferrerPolicy.h. 149 // third_party/WebKit/public/platform/WebReferrerPolicy.h.
150 optional int32 correct_referrer_policy = 25 [default = 1]; 150 optional int32 correct_referrer_policy = 25 [default = 1];
151 151
152 enum PasswordState { 152 enum PasswordState {
153 PASSWORD_STATE_UNKNOWN = 0; 153 PASSWORD_STATE_UNKNOWN = 0;
154 NO_PASSWORD_FIELD = 1; 154 NO_PASSWORD_FIELD = 1;
155 HAS_PASSWORD_FIELD = 2; 155 HAS_PASSWORD_FIELD = 2;
156 } 156 }
157 // Whether the Password Manager saw a password field on the page. 157 // Whether the Password Manager saw a password field on the page.
158 optional PasswordState password_state = 26; 158 optional PasswordState password_state = 26;
159
160 // The id for the task associated with this navigation, which is globally
161 // unique with high probability.
162 // Similar with global_id, but used to identify a navigation in Chrome Tasks,
163 // so navigations of a page have the same task_id if one is the first visit of
164 // the page, and others are its back/forward visits.
165 optional int64 task_id = 27;
166 // Task ids of all ancestor navigations, which can be from other tabs, from
167 // root to parent. We define navigation A is parent of navigation B if page of
168 // B is got by clicking a link on page of A. This relationship is used to
169 // define a Chrome Task as a tree rooted by a navigation.
170 repeated int64 ancestor_task_id = 28;
159 } 171 }
160 172
161 // Navigation information for a single redirection within a single navigation. 173 // Navigation information for a single redirection within a single navigation.
162 message NavigationRedirect { 174 message NavigationRedirect {
163 // A URL that redirected while navigating to the virtual_url. 175 // A URL that redirected while navigating to the virtual_url.
164 optional string url = 1; 176 optional string url = 1;
165 } 177 }
OLDNEW
« 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