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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
104 // Content state is an opaque blob created by WebKit that represents the | 104 // Content state is an opaque blob created by WebKit that represents the |
105 // state of the page. This includes form entries and scroll position for each | 105 // state of the page. This includes form entries and scroll position for each |
106 // frame. | 106 // frame. |
107 optional string state = 5; | 107 optional string state = 5; |
108 // The core transition type. | 108 // The core transition type. |
109 optional SyncEnums.PageTransition page_transition = 6 [default = TYPED]; | 109 optional SyncEnums.PageTransition page_transition = 6 [default = TYPED]; |
110 // If this transition was triggered by a redirect, the redirect type. | 110 // If this transition was triggered by a redirect, the redirect type. |
111 optional SyncEnums.PageTransitionRedirectType redirect_type = 7; | 111 optional SyncEnums.PageTransitionRedirectType redirect_type = 7; |
112 // The unique navigation id (within this client). | 112 // The unique navigation id (within this client). |
113 optional int32 unique_id = 8; | 113 optional int32 unique_id = 8; |
114 // Timestamp for when this navigation last occurred (in client time). | |
115 // If the user goes back/foward in history the timestamp may refresh. | |
116 optional int64 timestamp = 9; | |
117 // User used the Forward or Back button to navigate among browsing history. | 114 // User used the Forward or Back button to navigate among browsing history. |
118 optional bool navigation_forward_back = 10; | 115 optional bool navigation_forward_back = 10; |
119 // User used the address bar to trigger this navigation. | 116 // User used the address bar to trigger this navigation. |
120 optional bool navigation_from_address_bar = 11; | 117 optional bool navigation_from_address_bar = 11; |
121 // User is navigating to the home page. | 118 // User is navigating to the home page. |
122 optional bool navigation_home_page = 12; | 119 optional bool navigation_home_page = 12; |
123 // The beginning of a navigation chain. | 120 // The beginning of a navigation chain. |
124 optional bool navigation_chain_start = 13; | 121 optional bool navigation_chain_start = 13; |
125 // The last transition in a redirect chain. | 122 // The last transition in a redirect chain. |
126 optional bool navigation_chain_end = 14; | 123 optional bool navigation_chain_end = 14; |
124 | |
125 // Timestamp for when this navigation last occurred (in milliseconds | |
126 // since the Unix epoch according to the local clock). Deprecated | |
127 // in favor of local_timestamp (which has microsecond resolution). | |
128 optional int64 timestamp_deprecated = 9; | |
129 // Timestamp for when this navigation last occurred (in microseconds | |
130 // since the Windows epoch according to the local clock). | |
131 optional int64 local_timestamp = 15; | |
Nicolas Zea
2012/10/08 22:20:56
local_timestamp_us?
Also, any reason why we're sw
| |
127 } | 132 } |
128 | |
OLD | NEW |