| 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 // Common sync protocol for encrypted data. | 5 // Common sync protocol for encrypted data. |
| 6 | 6 |
| 7 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 option optimize_for = LITE_RUNTIME; | |
| 10 option retain_unknown_fields = true; | |
| 11 | |
| 12 package sync_pb; | 9 package sync_pb; |
| 13 | 10 |
| 14 import "get_updates_caller_info.proto"; | 11 import "get_updates_caller_info.proto"; |
| 15 | 12 |
| 16 // The additional info here is from the StatusController. They get sent when | 13 // The additional info here is from the StatusController. They get sent when |
| 17 // the event SYNC_CYCLE_COMPLETED is sent. | 14 // the event SYNC_CYCLE_COMPLETED is sent. |
| 18 message SyncCycleCompletedEventInfo { | 15 message SyncCycleCompletedEventInfo { |
| 19 // optional bool syncer_stuck = 1; // Was always false, now obsolete. | 16 // optional bool syncer_stuck = 1; // Was always false, now obsolete. |
| 20 | 17 |
| 21 // The client has never set these values correctly. It set | 18 // The client has never set these values correctly. It set |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Whether cryptographer is ready to encrypt and decrypt data. | 81 // Whether cryptographer is ready to encrypt and decrypt data. |
| 85 optional bool cryptographer_ready = 2; | 82 optional bool cryptographer_ready = 2; |
| 86 | 83 |
| 87 // Cryptographer has pending keys which indicates the correct passphrase | 84 // Cryptographer has pending keys which indicates the correct passphrase |
| 88 // has not been provided yet. | 85 // has not been provided yet. |
| 89 optional bool cryptographer_has_pending_keys = 3; | 86 optional bool cryptographer_has_pending_keys = 3; |
| 90 | 87 |
| 91 // Indicates client has dropped some events to save bandwidth. | 88 // Indicates client has dropped some events to save bandwidth. |
| 92 optional bool events_dropped = 4; | 89 optional bool events_dropped = 4; |
| 93 } | 90 } |
| OLD | NEW |