OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 """An implementation of the server side of the Chromium sync protocol. | 5 """An implementation of the server side of the Chromium sync protocol. |
6 | 6 |
7 The details of the protocol are described mostly by comments in the protocol | 7 The details of the protocol are described mostly by comments in the protocol |
8 buffer definition at chrome/browser/sync/protocol/sync.proto. | 8 buffer definition at chrome/browser/sync/protocol/sync.proto. |
9 """ | 9 """ |
10 | 10 |
(...skipping 1621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1632 | 1632 |
1633 Args: | 1633 Args: |
1634 sessions_commit_delay_seconds: The desired sync delay time for sessions. | 1634 sessions_commit_delay_seconds: The desired sync delay time for sessions. |
1635 """ | 1635 """ |
1636 if not self._client_command: | 1636 if not self._client_command: |
1637 self._client_command = client_commands_pb2.ClientCommand() | 1637 self._client_command = client_commands_pb2.ClientCommand() |
1638 | 1638 |
1639 self._client_command.sessions_commit_delay_seconds = \ | 1639 self._client_command.sessions_commit_delay_seconds = \ |
1640 sessions_commit_delay_seconds | 1640 sessions_commit_delay_seconds |
1641 return self._client_command | 1641 return self._client_command |
OLD | NEW |