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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « sync/protocol/get_updates_caller_info.proto ('k') | sync/protocol/history_status.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 //
5 // Sync protocol datatype extension for history delete directives.
6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file.
9
10 syntax = "proto2";
11
12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
14
15 package sync_pb;
16
17 // All timestamps below are from Sane Time (
18 // http://www.chromium.org/developers/design-documents/sane-time )
19 // and are in microseconds since the Unix epoch.
20
21 // Properties of history delete directive sync objects.
22 message HistoryDeleteDirectiveSpecifics {
23 // Exactly one of the fields below must be filled in. Otherwise, this
24 // delete directive must be ignored.
25 optional GlobalIdDirective global_id_directive = 1;
26 optional TimeRangeDirective time_range_directive = 2;
27 }
28
29 message GlobalIdDirective {
30 // The global IDs of the navigations to delete.
31 repeated int64 global_id = 1;
32
33 // Time range for searching for navigations to delete. Client should delete
34 // all navigations to a URL between [start_time_usec, end_time_usec]
35 // if one of them matches a |global_id|.
36 optional int64 start_time_usec = 2;
37 optional int64 end_time_usec = 3;
38 }
39
40 message TimeRangeDirective {
41 // Both fields below must be filled in. Otherwise, this delete directive
42 // must be ignored.
43
44 // The time on or after which entries must be deleted.
45 optional int64 start_time_usec = 1;
46 // The time on or before which entries must be deleted.
47 optional int64 end_time_usec = 2;
48 }
OLDNEW
« no previous file with comments | « sync/protocol/get_updates_caller_info.proto ('k') | sync/protocol/history_status.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698