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"; |
11 | 11 |
12 option optimize_for = LITE_RUNTIME; | 12 option optimize_for = LITE_RUNTIME; |
13 option retain_unknown_fields = true; | |
14 | 13 |
15 package sync_pb; | 14 package sync_pb; |
16 | 15 |
17 import "sync_enums.proto"; | 16 import "sync_enums.proto"; |
18 | 17 |
19 message SessionSpecifics { | 18 message SessionSpecifics { |
20 // Unique id for the client. | 19 // Unique id for the client. |
21 optional string session_tag = 1; | 20 optional string session_tag = 1; |
22 optional SessionHeader header = 2; | 21 optional SessionHeader header = 2; |
23 optional SessionTab tab = 3; | 22 optional SessionTab tab = 3; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 } | 155 } |
157 // Whether the Password Manager saw a password field on the page. | 156 // Whether the Password Manager saw a password field on the page. |
158 optional PasswordState password_state = 26; | 157 optional PasswordState password_state = 26; |
159 } | 158 } |
160 | 159 |
161 // Navigation information for a single redirection within a single navigation. | 160 // Navigation information for a single redirection within a single navigation. |
162 message NavigationRedirect { | 161 message NavigationRedirect { |
163 // A URL that redirected while navigating to the virtual_url. | 162 // A URL that redirected while navigating to the virtual_url. |
164 optional string url = 1; | 163 optional string url = 1; |
165 } | 164 } |
OLD | NEW |