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

Side by Side Diff: chrome/browser/sync/protocol/sync.proto

Issue 7605021: Make the throttle delay configurable by the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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";
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 }; 574 };
575 575
576 // A command from the server instructing the client to update settings or 576 // A command from the server instructing the client to update settings or
577 // perform some operation. 577 // perform some operation.
578 message ClientCommand { 578 message ClientCommand {
579 // Time to wait before sending any requests to the server. 579 // Time to wait before sending any requests to the server.
580 optional int32 set_sync_poll_interval = 1; // in seconds 580 optional int32 set_sync_poll_interval = 1; // in seconds
581 optional int32 set_sync_long_poll_interval = 2; // in seconds 581 optional int32 set_sync_long_poll_interval = 2; // in seconds
582 582
583 optional int32 max_commit_batch_size = 3; 583 optional int32 max_commit_batch_size = 3;
584 optional int32 throttle_delay = 4; // in seconds
akalin 2011/08/10 01:24:36 You probably want to re-sync and use a different n
akalin 2011/08/10 01:24:36 rename to throttle_delay_seconds
lipalani1 2011/08/10 19:04:05 Done.
lipalani1 2011/08/10 19:04:05 Done.
584 }; 585 };
585 586
586 message ClientToServerResponse { 587 message ClientToServerResponse {
587 optional CommitResponse commit = 1; 588 optional CommitResponse commit = 1;
588 optional GetUpdatesResponse get_updates = 2; 589 optional GetUpdatesResponse get_updates = 2;
589 optional AuthenticateResponse authenticate = 3; 590 optional AuthenticateResponse authenticate = 3;
590 optional ClearUserDataResponse clear_user_data = 9; 591 optional ClearUserDataResponse clear_user_data = 9;
591 optional GetUpdatesMetadataResponse stream_metadata = 10; 592 optional GetUpdatesMetadataResponse stream_metadata = 10;
592 // If GetUpdatesStreamingResponse is contained in the ClientToServerResponse, 593 // If GetUpdatesStreamingResponse is contained in the ClientToServerResponse,
593 // none of the other fields (error_code and etc) will be set. 594 // none of the other fields (error_code and etc) will be set.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 optional string store_birthday = 6; 637 optional string store_birthday = 6;
637 638
638 optional ClientCommand client_command = 7; 639 optional ClientCommand client_command = 7;
639 optional ProfilingData profiling_data = 8; 640 optional ProfilingData profiling_data = 8;
640 641
641 // The data types whose storage has been migrated. Present when the value of 642 // The data types whose storage has been migrated. Present when the value of
642 // error_code is MIGRATION_DONE. 643 // error_code is MIGRATION_DONE.
643 repeated int32 migrated_data_type_id = 12; 644 repeated int32 migrated_data_type_id = 12;
644 }; 645 };
645 646
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698