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 for communication between sync client and server. | 5 // Sync protocol for communication between sync client and server. |
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 message CustomNudgeDelay { | 16 message CustomNudgeDelay { |
18 optional int32 datatype_id = 1; // Datatype id. | 17 optional int32 datatype_id = 1; // Datatype id. |
19 optional int32 delay_ms = 2; // Delay in milliseconds. | 18 optional int32 delay_ms = 2; // Delay in milliseconds. |
20 }; | 19 }; |
21 | 20 |
22 message ClientCommand { | 21 message ClientCommand { |
23 // Time to wait before sending any requests to the server. | 22 // Time to wait before sending any requests to the server. |
(...skipping 14 matching lines...) Expand all Loading... |
38 | 37 |
39 // Time to wait before issuing a retry GU. | 38 // Time to wait before issuing a retry GU. |
40 optional int32 gu_retry_delay_seconds = 7; | 39 optional int32 gu_retry_delay_seconds = 7; |
41 | 40 |
42 // A dictionary of custom nudge delays. | 41 // A dictionary of custom nudge delays. |
43 // Note: if a SESSIONS value is present, this will override | 42 // Note: if a SESSIONS value is present, this will override |
44 // |sessions_commit_delay_seconds| | 43 // |sessions_commit_delay_seconds| |
45 // New in M39. | 44 // New in M39. |
46 repeated CustomNudgeDelay custom_nudge_delays = 8; | 45 repeated CustomNudgeDelay custom_nudge_delays = 8; |
47 }; | 46 }; |
OLD | NEW |