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 history delete directives. | 5 // Sync protocol datatype extension for history delete directives. |
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 // All timestamps below are from Sane Time ( | 16 // All timestamps below are from Sane Time ( |
18 // http://www.chromium.org/developers/design-documents/sane-time ) | 17 // http://www.chromium.org/developers/design-documents/sane-time ) |
19 // and are in microseconds since the Unix epoch. | 18 // and are in microseconds since the Unix epoch. |
20 | 19 |
21 // Properties of history delete directive sync objects. | 20 // Properties of history delete directive sync objects. |
22 message HistoryDeleteDirectiveSpecifics { | 21 message HistoryDeleteDirectiveSpecifics { |
23 // Exactly one of the fields below must be filled in. Otherwise, this | 22 // Exactly one of the fields below must be filled in. Otherwise, this |
(...skipping 15 matching lines...) Expand all Loading... |
39 | 38 |
40 message TimeRangeDirective { | 39 message TimeRangeDirective { |
41 // Both fields below must be filled in. Otherwise, this delete directive | 40 // Both fields below must be filled in. Otherwise, this delete directive |
42 // must be ignored. | 41 // must be ignored. |
43 | 42 |
44 // The time on or after which entries must be deleted. | 43 // The time on or after which entries must be deleted. |
45 optional int64 start_time_usec = 1; | 44 optional int64 start_time_usec = 1; |
46 // The time on or before which entries must be deleted. | 45 // The time on or before which entries must be deleted. |
47 optional int64 end_time_usec = 2; | 46 optional int64 end_time_usec = 2; |
48 } | 47 } |
OLD | NEW |