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

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

Issue 11228038: Linux: change protobuf default option to allow building (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« 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
15 package sync_pb; 12 package sync_pb;
16 13
17 // All timestamps below are from Sane Time ( 14 // All timestamps below are from Sane Time (
18 // http://www.chromium.org/developers/design-documents/sane-time ) 15 // http://www.chromium.org/developers/design-documents/sane-time )
19 // and are in microseconds since the Unix epoch. 16 // and are in microseconds since the Unix epoch.
20 17
21 // Properties of history delete directive sync objects. 18 // Properties of history delete directive sync objects.
22 message HistoryDeleteDirectiveSpecifics { 19 message HistoryDeleteDirectiveSpecifics {
23 // Exactly one of the fields below must be filled in. Otherwise, this 20 // Exactly one of the fields below must be filled in. Otherwise, this
24 // delete directive must be ignored. 21 // delete directive must be ignored.
25 optional GlobalIdDirective global_id_directive = 1; 22 optional GlobalIdDirective global_id_directive = 1;
26 optional TimeRangeDirective time_range_directive = 2; 23 optional TimeRangeDirective time_range_directive = 2;
27 } 24 }
28 25
29 message GlobalIdDirective { 26 message GlobalIdDirective {
30 // The global IDs of the navigations to delete. 27 // The global IDs of the navigations to delete.
31 repeated int64 global_id = 1; 28 repeated int64 global_id = 1;
32 } 29 }
33 30
34 message TimeRangeDirective { 31 message TimeRangeDirective {
35 // Both fields below must be filled in. Otherwise, this delete directive 32 // Both fields below must be filled in. Otherwise, this delete directive
36 // must be ignored. 33 // must be ignored.
37 34
38 // The time on or after which entries must be deleted. 35 // The time on or after which entries must be deleted.
39 optional int64 start_time_usec = 1; 36 optional int64 start_time_usec = 1;
40 // The time on or before which entries must be deleted. 37 // The time on or before which entries must be deleted.
41 optional int64 end_time_usec = 2; 38 optional int64 end_time_usec = 2;
42 } 39 }
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