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

Side by Side Diff: components/copresence/proto/data.proto

Issue 453793002: Add audible support to the copresence API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 optional string id = 1; 94 optional string id = 1;
95 optional AccessPolicy access_policy = 2; 95 optional AccessPolicy access_policy = 2;
96 optional Message message = 3; 96 optional Message message = 3;
97 optional TransmissionStrategy strategy = 4; 97 optional TransmissionStrategy strategy = 4;
98 optional TokenExchangeStrategy token_exchange_strategy = 5; 98 optional TokenExchangeStrategy token_exchange_strategy = 5;
99 optional OptInStateFilter opt_in_state_filter = 6; 99 optional OptInStateFilter opt_in_state_filter = 6;
100 } 100 }
101 message TokenExchangeStrategy { 101 message TokenExchangeStrategy {
102 optional AudioConfiguration audio_configuration = 1; 102 optional AudioConfiguration audio_configuration = 1;
103 optional BroadcastScanConfiguration broadcast_scan_configuration = 2; 103 optional BroadcastScanConfiguration broadcast_scan_configuration = 2;
104 // TODO(rkc): Horrible hack. Get rid of this once the server tells us whether
105 // or not to use audible for a given publish or subscribe.
106 // http://b/16849245/
107 optional bool use_audible = 99;
104 } 108 }
105 message SubscribedMessage { 109 message SubscribedMessage {
106 message Debug { 110 message Debug {
107 optional string published_message_id = 1; 111 optional string published_message_id = 1;
108 optional string publisher_identity_id = 2; 112 optional string publisher_identity_id = 2;
109 optional string publisher_device_id = 3; 113 optional string publisher_device_id = 3;
110 optional int64 creation_timestamp_millis = 4; 114 optional int64 creation_timestamp_millis = 4;
111 optional int64 ttl_millis = 5; 115 optional int64 ttl_millis = 5;
112 optional TransmissionStrategy strategy = 6; 116 optional TransmissionStrategy strategy = 6;
113 optional TokenExchangeStrategy token_exchange_strategy = 7; 117 optional TokenExchangeStrategy token_exchange_strategy = 7;
(...skipping 24 matching lines...) Expand all
138 } 142 }
139 message MessageResult { 143 message MessageResult {
140 optional string published_message_id = 1; 144 optional string published_message_id = 1;
141 } 145 }
142 message SubscriptionResult { 146 message SubscriptionResult {
143 optional string subscription_id = 1; 147 optional string subscription_id = 1;
144 } 148 }
145 message OptInStateFilter { 149 message OptInStateFilter {
146 repeated OptInState allowed_opt_in_state = 1; 150 repeated OptInState allowed_opt_in_state = 1;
147 } 151 }
OLDNEW
« no previous file with comments | « components/copresence/handlers/directive_handler.cc ('k') | components/copresence/rpc/rpc_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698