| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 TYPE_WEB_FAVICON = 1; | 84 TYPE_WEB_FAVICON = 1; |
| 85 } | 85 } |
| 86 optional FaviconType favicon_type = 9; | 86 optional FaviconType favicon_type = 9; |
| 87 // The url of the actual favicon (as opposed to the page using the favicon). | 87 // The url of the actual favicon (as opposed to the page using the favicon). |
| 88 optional string favicon_source = 11; | 88 optional string favicon_source = 11; |
| 89 } | 89 } |
| 90 | 90 |
| 91 message TabNavigation { | 91 message TabNavigation { |
| 92 // The index in the NavigationController. If this is -1, it means this | 92 // The index in the NavigationController. If this is -1, it means this |
| 93 // TabNavigation is bogus. | 93 // TabNavigation is bogus. |
| 94 optional int32 index = 1 [default = -1]; | 94 // optional int32 index = 1 [default = -1]; // obsolete. |
| 95 // The virtual URL, when nonempty, will override the actual URL of the page | 95 // The virtual URL, when nonempty, will override the actual URL of the page |
| 96 // when we display it to the user. | 96 // when we display it to the user. |
| 97 optional string virtual_url = 2; | 97 optional string virtual_url = 2; |
| 98 // The referring URL, which can be empty. | 98 // The referring URL, which can be empty. |
| 99 optional string referrer = 3; | 99 optional string referrer = 3; |
| 100 // The title of the page. | 100 // The title of the page. |
| 101 optional string title = 4; | 101 optional string title = 4; |
| 102 // Content state is an opaque blob created by WebKit that represents the | 102 // Content state is an opaque blob created by WebKit that represents the |
| 103 // state of the page. This includes form entries and scroll position for each | 103 // state of the page. This includes form entries and scroll position for each |
| 104 // frame. | 104 // frame. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 119 CHAIN_START = 12; | 119 CHAIN_START = 12; |
| 120 CHAIN_END = 13; | 120 CHAIN_END = 13; |
| 121 } | 121 } |
| 122 // These qualifiers further define the transition. | 122 // These qualifiers further define the transition. |
| 123 enum PageTransitionQualifier { | 123 enum PageTransitionQualifier { |
| 124 CLIENT_REDIRECT = 1; | 124 CLIENT_REDIRECT = 1; |
| 125 SERVER_REDIRECT = 2; | 125 SERVER_REDIRECT = 2; |
| 126 } | 126 } |
| 127 optional PageTransition page_transition = 6 [default = TYPED]; | 127 optional PageTransition page_transition = 6 [default = TYPED]; |
| 128 optional PageTransitionQualifier navigation_qualifier = 7; | 128 optional PageTransitionQualifier navigation_qualifier = 7; |
| 129 // The unique navigation id (within this client). |
| 130 optional int32 unique_id = 8; |
| 131 // Timestamp for when this navigation last occurred (in client time). |
| 132 // If the user goes back/foward in history the timestamp may refresh. |
| 133 optional int64 timestamp = 9; |
| 129 } | 134 } |
| 130 | 135 |
| OLD | NEW |