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

Side by Side Diff: sync/protocol/history_delete_directive_specifics.proto

Issue 11359146: Revert "Linux: change protobuf default option to allow building" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « sync/protocol/get_updates_caller_info.proto ('k') | sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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;
13 option retain_unknown_fields = true;
14
12 package sync_pb; 15 package sync_pb;
13 16
14 // All timestamps below are from Sane Time ( 17 // All timestamps below are from Sane Time (
15 // http://www.chromium.org/developers/design-documents/sane-time ) 18 // http://www.chromium.org/developers/design-documents/sane-time )
16 // and are in microseconds since the Unix epoch. 19 // and are in microseconds since the Unix epoch.
17 20
18 // Properties of history delete directive sync objects. 21 // Properties of history delete directive sync objects.
19 message HistoryDeleteDirectiveSpecifics { 22 message HistoryDeleteDirectiveSpecifics {
20 // Exactly one of the fields below must be filled in. Otherwise, this 23 // Exactly one of the fields below must be filled in. Otherwise, this
21 // delete directive must be ignored. 24 // delete directive must be ignored.
22 optional GlobalIdDirective global_id_directive = 1; 25 optional GlobalIdDirective global_id_directive = 1;
23 optional TimeRangeDirective time_range_directive = 2; 26 optional TimeRangeDirective time_range_directive = 2;
24 } 27 }
25 28
26 message GlobalIdDirective { 29 message GlobalIdDirective {
27 // The global IDs of the navigations to delete. 30 // The global IDs of the navigations to delete.
28 repeated int64 global_id = 1; 31 repeated int64 global_id = 1;
29 } 32 }
30 33
31 message TimeRangeDirective { 34 message TimeRangeDirective {
32 // Both fields below must be filled in. Otherwise, this delete directive 35 // Both fields below must be filled in. Otherwise, this delete directive
33 // must be ignored. 36 // must be ignored.
34 37
35 // The time on or after which entries must be deleted. 38 // The time on or after which entries must be deleted.
36 optional int64 start_time_usec = 1; 39 optional int64 start_time_usec = 1;
37 // The time on or before which entries must be deleted. 40 // The time on or before which entries must be deleted.
38 optional int64 end_time_usec = 2; 41 optional int64 end_time_usec = 2;
39 } 42 }
OLDNEW
« no previous file with comments | « sync/protocol/get_updates_caller_info.proto ('k') | sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698