Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: chrome/browser/chromeos/contacts/contact.proto

Issue 10933127: contacts: Don't save deleted contacts to disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 optional Protocol protocol = 2 [default = OTHER]; 98 optional Protocol protocol = 2 [default = OTHER];
99 optional AddressType type = 3; 99 optional AddressType type = 3;
100 optional bool primary = 4 [default = false]; 100 optional bool primary = 4 [default = false];
101 } 101 }
102 repeated InstantMessagingAddress instant_messaging_addresses = 14; 102 repeated InstantMessagingAddress instant_messaging_addresses = 14;
103 } 103 }
104 104
105 // Singleton message used by ContactDatabase to store update-related metadata. 105 // Singleton message used by ContactDatabase to store update-related metadata.
106 message UpdateMetadata { 106 message UpdateMetadata {
107 // Next ID to use: 2 107 // Next ID to use: 3
108 108
109 // Time at which the last successful update was started, as given by 109 // Time at which the last successful update was started, as given by
110 // base::Time::ToInternalValue(). 110 // base::Time::ToInternalValue().
111 optional int64 last_update_start_time = 1; 111 optional int64 last_update_start_time = 1;
112
113 // Latest time that we've seen in a contact's |update_time| field. Note that
114 // the time may have come from a deleted contact that has been discarded.
115 optional int64 last_contact_update_time = 2;
112 } 116 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698