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

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

Issue 7491068: [Sync] Add flag for sessions commit delay in sync.proto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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) 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
585 // Number of seconds to delay between getting a
586 // session notification and sending a commit
Nicolas Zea 2011/08/06 00:19:50 How about calling this "session nudge delay" and s
akalin 2011/08/09 17:58:21 Hmm, 'nudge' is a concept specific to the SyncSche
587 // message to the server
588 optional int32 sessions_commit_delay_seconds = 4;
584 }; 589 };
585 590
586 message ClientToServerResponse { 591 message ClientToServerResponse {
587 optional CommitResponse commit = 1; 592 optional CommitResponse commit = 1;
588 optional GetUpdatesResponse get_updates = 2; 593 optional GetUpdatesResponse get_updates = 2;
589 optional AuthenticateResponse authenticate = 3; 594 optional AuthenticateResponse authenticate = 3;
590 optional ClearUserDataResponse clear_user_data = 9; 595 optional ClearUserDataResponse clear_user_data = 9;
591 optional GetUpdatesMetadataResponse stream_metadata = 10; 596 optional GetUpdatesMetadataResponse stream_metadata = 10;
592 // If GetUpdatesStreamingResponse is contained in the ClientToServerResponse, 597 // If GetUpdatesStreamingResponse is contained in the ClientToServerResponse,
593 // none of the other fields (error_code and etc) will be set. 598 // 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; 641 optional string store_birthday = 6;
637 642
638 optional ClientCommand client_command = 7; 643 optional ClientCommand client_command = 7;
639 optional ProfilingData profiling_data = 8; 644 optional ProfilingData profiling_data = 8;
640 645
641 // The data types whose storage has been migrated. Present when the value of 646 // The data types whose storage has been migrated. Present when the value of
642 // error_code is MIGRATION_DONE. 647 // error_code is MIGRATION_DONE.
643 repeated int32 migrated_data_type_id = 12; 648 repeated int32 migrated_data_type_id = 12;
644 }; 649 };
645 650
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698