| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // state of the page. This includes form entries and scroll position for each | 97 // state of the page. This includes form entries and scroll position for each |
| 98 // frame. | 98 // frame. |
| 99 // optional string state = 5; // obsolete. | 99 // optional string state = 5; // obsolete. |
| 100 // The core transition type. | 100 // The core transition type. |
| 101 optional SyncEnums.PageTransition page_transition = 6 [default = TYPED]; | 101 optional SyncEnums.PageTransition page_transition = 6 [default = TYPED]; |
| 102 // If this transition was triggered by a redirect, the redirect type. | 102 // If this transition was triggered by a redirect, the redirect type. |
| 103 optional SyncEnums.PageTransitionRedirectType redirect_type = 7; | 103 optional SyncEnums.PageTransitionRedirectType redirect_type = 7; |
| 104 // The unique navigation id (within this client). | 104 // The unique navigation id (within this client). |
| 105 optional int32 unique_id = 8; | 105 optional int32 unique_id = 8; |
| 106 // Timestamp for when this navigation last occurred (in client time). | 106 // Timestamp for when this navigation last occurred (in client time). |
| 107 // If the user goes back/foward in history the timestamp may refresh. | 107 // If the user goes back/forward in history the timestamp may refresh. |
| 108 optional int64 timestamp_msec = 9; | 108 optional int64 timestamp_msec = 9; |
| 109 // User used the Forward or Back button to navigate among browsing history. | 109 // User used the Forward or Back button to navigate among browsing history. |
| 110 optional bool navigation_forward_back = 10; | 110 optional bool navigation_forward_back = 10; |
| 111 // User used the address bar to trigger this navigation. | 111 // User used the address bar to trigger this navigation. |
| 112 optional bool navigation_from_address_bar = 11; | 112 optional bool navigation_from_address_bar = 11; |
| 113 // User is navigating to the home page. | 113 // User is navigating to the home page. |
| 114 optional bool navigation_home_page = 12; | 114 optional bool navigation_home_page = 12; |
| 115 // The beginning of a navigation chain. | 115 // The beginning of a navigation chain. |
| 116 optional bool navigation_chain_start = 13; | 116 optional bool navigation_chain_start = 13; |
| 117 // The last transition in a redirect chain. | 117 // The last transition in a redirect chain. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // B is got by clicking a link on page of A. This relationship is used to | 167 // B is got by clicking a link on page of A. This relationship is used to |
| 168 // define a Chrome Task as a tree rooted by a navigation. | 168 // define a Chrome Task as a tree rooted by a navigation. |
| 169 repeated int64 ancestor_task_id = 28; | 169 repeated int64 ancestor_task_id = 28; |
| 170 } | 170 } |
| 171 | 171 |
| 172 // Navigation information for a single redirection within a single navigation. | 172 // Navigation information for a single redirection within a single navigation. |
| 173 message NavigationRedirect { | 173 message NavigationRedirect { |
| 174 // A URL that redirected while navigating to the virtual_url. | 174 // A URL that redirected while navigating to the virtual_url. |
| 175 optional string url = 1; | 175 optional string url = 1; |
| 176 } | 176 } |
| OLD | NEW |