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 // Protocol buffer definitions for the user's contacts. | 5 // Protocol buffer definitions for the user's contacts. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 ICQ = 6; | 90 ICQ = 6; |
91 JABBER = 7; | 91 JABBER = 7; |
92 OTHER = 8; | 92 OTHER = 8; |
93 } | 93 } |
94 optional Protocol protocol = 2 [default = OTHER]; | 94 optional Protocol protocol = 2 [default = OTHER]; |
95 optional AddressType type = 3; | 95 optional AddressType type = 3; |
96 optional bool primary = 4 [default = false]; | 96 optional bool primary = 4 [default = false]; |
97 } | 97 } |
98 repeated InstantMessagingAddress instant_messaging_addresses = 14; | 98 repeated InstantMessagingAddress instant_messaging_addresses = 14; |
99 } | 99 } |
| 100 |
| 101 // Singleton message used by ContactDatabase to store update-related metadata. |
| 102 message UpdateMetadata { |
| 103 // Next ID to use: 2 |
| 104 |
| 105 // Time at which the last successful update was started, as given by |
| 106 // base::Time::ToInternalValue(). |
| 107 optional int64 last_update_start_time = 1; |
| 108 } |
OLD | NEW |