OLD | NEW |
---|---|
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
92 // The virtual URL, when nonempty, will override the actual URL of the page | 92 // The virtual URL, when nonempty, will override the actual URL of the page |
93 // when we display it to the user. | 93 // when we display it to the user. |
94 optional string virtual_url = 2; | 94 optional string virtual_url = 2; |
95 // The referring URL, which can be empty. | 95 // The referring URL, which can be empty. |
96 optional string referrer = 3; | 96 optional string referrer = 3; |
97 // The title of the page. | 97 // The title of the page. |
98 optional string title = 4; | 98 optional string title = 4; |
99 // Content state is an opaque blob created by WebKit that represents the | 99 // Content state is an opaque blob created by WebKit that represents the |
100 // state of the page. This includes form entries and scroll position for each | 100 // state of the page. This includes form entries and scroll position for each |
101 // frame. | 101 // frame. |
102 optional string state = 5; | 102 // optional string state = 5; // obsolete. |
maxbogue
2015/10/23 00:53:28
Is it customary to comment out deprecated fields l
| |
103 // The core transition type. | 103 // The core transition type. |
104 optional SyncEnums.PageTransition page_transition = 6 [default = TYPED]; | 104 optional SyncEnums.PageTransition page_transition = 6 [default = TYPED]; |
105 // If this transition was triggered by a redirect, the redirect type. | 105 // If this transition was triggered by a redirect, the redirect type. |
106 optional SyncEnums.PageTransitionRedirectType redirect_type = 7; | 106 optional SyncEnums.PageTransitionRedirectType redirect_type = 7; |
107 // The unique navigation id (within this client). | 107 // The unique navigation id (within this client). |
108 optional int32 unique_id = 8; | 108 optional int32 unique_id = 8; |
109 // Timestamp for when this navigation last occurred (in client time). | 109 // Timestamp for when this navigation last occurred (in client time). |
110 // If the user goes back/foward in history the timestamp may refresh. | 110 // If the user goes back/foward in history the timestamp may refresh. |
111 optional int64 timestamp_msec = 9; | 111 optional int64 timestamp_msec = 9; |
112 // User used the Forward or Back button to navigate among browsing history. | 112 // User used the Forward or Back button to navigate among browsing history. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 // Correct referrer policy. Valid enums are defined in | 150 // Correct referrer policy. Valid enums are defined in |
151 // third_party/WebKit/public/platform/WebReferrerPolicy.h. | 151 // third_party/WebKit/public/platform/WebReferrerPolicy.h. |
152 optional int32 correct_referrer_policy = 25 [default = 1]; | 152 optional int32 correct_referrer_policy = 25 [default = 1]; |
153 } | 153 } |
154 | 154 |
155 // Navigation information for a single redirection within a single navigation. | 155 // Navigation information for a single redirection within a single navigation. |
156 message NavigationRedirect { | 156 message NavigationRedirect { |
157 // A URL that redirected while navigating to the virtual_url. | 157 // A URL that redirected while navigating to the virtual_url. |
158 optional string url = 1; | 158 optional string url = 1; |
159 } | 159 } |
OLD | NEW |