Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 syntax = "proto2"; | 1 syntax = "proto2"; |
| 2 package copresence; | 2 package copresence; |
| 3 option optimize_for = LITE_RUNTIME; | 3 option optimize_for = LITE_RUNTIME; |
| 4 import "enums.proto"; | 4 import "enums.proto"; |
| 5 import "identity.proto"; | 5 import "identity.proto"; |
| 6 message ClientVersion { | 6 message ClientVersion { |
| 7 optional string client = 1; | 7 optional string client = 1; |
| 8 optional string version_name = 2; | 8 optional string version_name = 2; |
| 9 optional int64 version_code = 3; | 9 optional int64 version_code = 3; |
| 10 optional string certificate_fingerprint = 4; | 10 optional string certificate_fingerprint = 4; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 80 optional string id = 1; | 80 optional string id = 1; |
| 81 optional AccessPolicy access_policy = 2; | 81 optional AccessPolicy access_policy = 2; |
| 82 optional Message message = 3; | 82 optional Message message = 3; |
| 83 optional TransmissionStrategy strategy = 4; | 83 optional TransmissionStrategy strategy = 4; |
| 84 optional TokenExchangeStrategy token_exchange_strategy = 5; | 84 optional TokenExchangeStrategy token_exchange_strategy = 5; |
| 85 optional OptInStateFilter opt_in_state_filter = 6; | 85 optional OptInStateFilter opt_in_state_filter = 6; |
| 86 } | 86 } |
| 87 message TokenExchangeStrategy { | 87 message TokenExchangeStrategy { |
| 88 optional AudioConfiguration audio_configuration = 1; | 88 optional AudioConfiguration audio_configuration = 1; |
| 89 optional BroadcastScanConfiguration broadcast_scan_configuration = 2; | 89 optional BroadcastScanConfiguration broadcast_scan_configuration = 2; |
| 90 // TODO(rkc): Horrible hack. Get rid of this once the server tells us whether | |
|
Charlie
2014/08/08 22:24:15
Add the server bug number: 16849245
rkc
2014/08/09 06:58:54
Done.
| |
| 91 // or not to use audible for a given publish or subscribe. | |
| 92 optional bool use_audible = 99; | |
| 90 } | 93 } |
| 91 message SubscribedMessage { | 94 message SubscribedMessage { |
| 92 message Debug { | 95 message Debug { |
| 93 optional string published_message_id = 1; | 96 optional string published_message_id = 1; |
| 94 optional string publisher_identity_id = 2; | 97 optional string publisher_identity_id = 2; |
| 95 optional string publisher_device_id = 3; | 98 optional string publisher_device_id = 3; |
| 96 optional int64 creation_timestamp_millis = 4; | 99 optional int64 creation_timestamp_millis = 4; |
| 97 optional int64 ttl_millis = 5; | 100 optional int64 ttl_millis = 5; |
| 98 optional TransmissionStrategy strategy = 6; | 101 optional TransmissionStrategy strategy = 6; |
| 99 optional TokenExchangeStrategy token_exchange_strategy = 7; | 102 optional TokenExchangeStrategy token_exchange_strategy = 7; |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 120 } | 123 } |
| 121 message MessageResult { | 124 message MessageResult { |
| 122 optional string published_message_id = 1; | 125 optional string published_message_id = 1; |
| 123 } | 126 } |
| 124 message SubscriptionResult { | 127 message SubscriptionResult { |
| 125 optional string subscription_id = 1; | 128 optional string subscription_id = 1; |
| 126 } | 129 } |
| 127 message OptInStateFilter { | 130 message OptInStateFilter { |
| 128 repeated OptInState allowed_opt_in_state = 1; | 131 repeated OptInState allowed_opt_in_state = 1; |
| 129 } | 132 } |
| OLD | NEW |