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.
5 // Sync protocol for communication between sync client and server.
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file.
12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
17 message ClientCommand {
18 // Time to wait before sending any requests to the server.
19 optional int32 set_sync_poll_interval = 1; // in seconds
20 optional int32 set_sync_long_poll_interval = 2; // in seconds
22 optional int32 max_commit_batch_size = 3;
24 // Number of seconds to delay between a sessions
25 // action and sending a commit message to the
27 optional int32 sessions_commit_delay_seconds = 4;
29 // Number of seconds to delay before the throttled client should retry.
30 optional int32 throttle_delay_seconds = 5;
32 // Maximum number of local nudges to buffer per-type.
33 optional int32 client_invalidation_hint_buffer_size = 6;