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

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

Issue 600843004: Setting AudioConfiguration and deleting DeviceCapabilities hacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correcting DeviceCapabilities Created 6 years, 2 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
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 message PublishedMessage { 85 message PublishedMessage {
86 optional string id = 1; 86 optional string id = 1;
87 optional AccessPolicy access_policy = 2; 87 optional AccessPolicy access_policy = 2;
88 optional Message message = 3; 88 optional Message message = 3;
89 optional TokenExchangeStrategy token_exchange_strategy = 5; 89 optional TokenExchangeStrategy token_exchange_strategy = 5;
90 optional OptInStateFilter opt_in_state_filter = 6; 90 optional OptInStateFilter opt_in_state_filter = 6;
91 } 91 }
92 message TokenExchangeStrategy { 92 message TokenExchangeStrategy {
93 optional AudioConfiguration audio_configuration = 1; 93 optional AudioConfiguration audio_configuration = 1;
94 optional BroadcastScanConfiguration broadcast_scan_configuration = 2; 94 optional BroadcastScanConfiguration broadcast_scan_configuration = 2;
95 // TODO(rkc): Horrible hack. Get rid of this once the server tells us whether
96 // or not to use audible for a given publish or subscribe.
97 // http://b/16849245/
98 optional bool use_audible = 99;
99 } 95 }
100 message SubscribedMessage { 96 message SubscribedMessage {
101 message Debug { 97 message Debug {
102 optional string published_message_id = 1; 98 optional string published_message_id = 1;
103 optional string publisher_identity_id = 2; 99 optional string publisher_identity_id = 2;
104 optional string publisher_device_id = 3; 100 optional string publisher_device_id = 3;
105 optional int64 creation_timestamp_millis = 4; 101 optional int64 creation_timestamp_millis = 4;
106 optional int64 ttl_millis = 5; 102 optional int64 ttl_millis = 5;
107 optional TokenExchangeStrategy token_exchange_strategy = 7; 103 optional TokenExchangeStrategy token_exchange_strategy = 7;
108 } 104 }
(...skipping 17 matching lines...) Expand all
126 } 122 }
127 message MessageResult { 123 message MessageResult {
128 optional string published_message_id = 1; 124 optional string published_message_id = 1;
129 } 125 }
130 message SubscriptionResult { 126 message SubscriptionResult {
131 optional string subscription_id = 1; 127 optional string subscription_id = 1;
132 } 128 }
133 message OptInStateFilter { 129 message OptInStateFilter {
134 repeated OptInState allowed_opt_in_state = 1; 130 repeated OptInState allowed_opt_in_state = 1;
135 } 131 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/copresence/copresence_translations.cc ('k') | components/copresence/rpc/rpc_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698