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

Side by Side Diff: media/remoting/proto/remoting_rpc_message.proto

Issue 2643253003: Media Remoting Clean-up: Less-redundant naming, style consistency, etc. (Closed)
Patch Set: REBASE Created 3 years, 10 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
« no previous file with comments | « media/remoting/interstitial.cc ('k') | media/remoting/proto_enum_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // Protocol buffer for Media Remoting.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package media.remoting.pb;
12
13 // DecoderBuffer information which will be sent using RTP packets. The actual
14 // decoder buffer is not included in this proto data structure.
15 message DecoderBuffer {
16 optional int64 timestamp_usec = 1;
17 optional int64 duration_usec = 2;
18 optional bool is_key_frame = 3;
19 optional DecryptConfig decrypt_config = 4;
20 optional int64 front_discard_usec = 5;
21 optional int64 back_discard_usec = 6;
22 optional int64 splice_timestamp_usec = 7;
23 optional bytes side_data = 8;
24 // To distinguish from valid 0-length buffers
25 optional bool is_eos = 9;
26 }
27
28 // Utility proto data structure
29 message Size {
30 optional int32 width = 1;
31 optional int32 height = 2;
32 }
33
34 message EncryptionScheme {
35 // Proto version of EncryptionScheme::CipherMode.
36 // NEVER change these numbers or re-use old ones; only add new ones.
37 enum CipherMode {
38 CIPHER_MODE_UNENCRYPTED = 0;
39 CIPHER_MODE_AES_CTR = 1;
40 CIPHER_MODE_AES_CBC = 2;
41 }
42
43 optional CipherMode mode = 1;
44 optional uint32 encrypt_blocks = 2;
45 optional uint32 skip_blocks = 3;
46 }
47
48 message AudioDecoderConfig {
49 // Proto version of media::Codec.
50 // NEVER change these numbers or re-use old ones; only add new ones.
51 enum Codec {
52 kUnknownAudioCodec = 0;
53 kCodecAAC = 1;
54 kCodecMP3 = 2;
55 kCodecPCM = 3;
56 kCodecVorbis = 4;
57 kCodecFLAC = 5;
58 kCodecAMR_NB = 6;
59 kCodecAMR_WB = 7;
60 kCodecPCM_MULAW = 8;
61 kCodecGSM_MS = 9;
62 kCodecPCM_S16BE = 10;
63 kCodecPCM_S24BE = 11;
64 kCodecOpus = 12;
65 kCodecEAC3 = 13;
66 kCodecPCM_ALAW = 14;
67 kCodecALAC = 15;
68 kCodecAC3 = 16;
69 }
70
71 // Proto version of media::SampleFormat.
72 // NEVER change these numbers or re-use old ones; only add new ones.
73 enum SampleFormat {
74 kUnknownSampleFormat = 0;
75 kSampleFormatU8 = 1;
76 kSampleFormatS16 = 2;
77 kSampleFormatS32 = 3;
78 kSampleFormatF32 = 4;
79 kSampleFormatPlanarS16 = 5;
80 kSampleFormatPlanarF32 = 6;
81 kSampleFormatPlanarS32 = 7;
82 kSampleFormatS24 = 8;
83 kSampleFormatAc3 = 9;
84 kSampleFormatEac3 = 10;
85 };
86
87 // Proto version of media::ChannelLayout.
88 // NEVER change these numbers or re-use old ones; only add new ones.
89 enum ChannelLayout {
90 CHANNEL_LAYOUT_NONE = 0;
91 CHANNEL_LAYOUT_UNSUPPORTED = 1;
92 CHANNEL_LAYOUT_MONO = 2;
93 CHANNEL_LAYOUT_STEREO = 3;
94 CHANNEL_LAYOUT_2_1 = 4;
95 CHANNEL_LAYOUT_SURROUND = 5;
96 CHANNEL_LAYOUT_4_0 = 6;
97 CHANNEL_LAYOUT_2_2 = 7;
98 CHANNEL_LAYOUT_QUAD = 8;
99 CHANNEL_LAYOUT_5_0 = 9;
100 CHANNEL_LAYOUT_5_1 = 10;
101 CHANNEL_LAYOUT_5_0_BACK = 11;
102 CHANNEL_LAYOUT_5_1_BACK = 12;
103 CHANNEL_LAYOUT_7_0 = 13;
104 CHANNEL_LAYOUT_7_1 = 14;
105 CHANNEL_LAYOUT_7_1_WIDE = 15;
106 CHANNEL_LAYOUT_STEREO_DOWNMIX = 16;
107 CHANNEL_LAYOUT_2POINT1 = 17;
108 CHANNEL_LAYOUT_3_1 = 18;
109 CHANNEL_LAYOUT_4_1 = 19;
110 CHANNEL_LAYOUT_6_0 = 20;
111 CHANNEL_LAYOUT_6_0_FRONT = 21;
112 CHANNEL_LAYOUT_HEXAGONAL = 22;
113 CHANNEL_LAYOUT_6_1 = 23;
114 CHANNEL_LAYOUT_6_1_BACK = 24;
115 CHANNEL_LAYOUT_6_1_FRONT = 25;
116 CHANNEL_LAYOUT_7_0_FRONT = 26;
117 CHANNEL_LAYOUT_7_1_WIDE_BACK = 27;
118 CHANNEL_LAYOUT_OCTAGONAL = 28;
119 CHANNEL_LAYOUT_DISCRETE = 29;
120 CHANNEL_LAYOUT_STEREO_AND_KEYBOARD_MIC = 30;
121 CHANNEL_LAYOUT_4_1_QUAD_SIDE = 31;
122 };
123
124 optional Codec codec = 1;
125 optional EncryptionScheme encryption_scheme = 2;
126 optional SampleFormat sample_format = 3;
127 optional ChannelLayout channel_layout = 4;
128 optional int32 samples_per_second = 5;
129 optional int64 seek_preroll_usec = 6;
130 optional int32 codec_delay = 7;
131 optional bytes extra_data = 8;
132 }
133
134 message Rect {
135 optional int32 x = 1;
136 optional int32 y = 2;
137 optional int32 width = 3;
138 optional int32 height = 4;
139 }
140
141 message VideoDecoderConfig {
142 // Proto version of media::VideoCodec.
143 // NEVER change these numbers or re-use old ones; only add new ones.
144 enum Codec {
145 kUnknownVideoCodec = 0;
146 kCodecH264 = 1;
147 kCodecVC1 = 2;
148 kCodecMPEG2 = 3;
149 kCodecMPEG4 = 4;
150 kCodecTheora = 5;
151 kCodecVP8 = 6;
152 kCodecVP9 = 7;
153 kCodecHEVC = 8;
154 }
155
156 // Proto version of media::VideoCodecProfile.
157 // NEVER change these numbers or re-use old ones; only add new ones.
158 enum Profile {
159 VIDEO_CODEC_PROFILE_UNKNOWN = -1;
160 H264PROFILE_BASELINE = 0;
161 H264PROFILE_MAIN = 1;
162 H264PROFILE_EXTENDED = 2;
163 H264PROFILE_HIGH = 3;
164 H264PROFILE_HIGH10PROFILE = 4;
165 H264PROFILE_HIGH422PROFILE = 5;
166 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6;
167 H264PROFILE_SCALABLEBASELINE = 7;
168 H264PROFILE_SCALABLEHIGH = 8;
169 H264PROFILE_STEREOHIGH = 9;
170 H264PROFILE_MULTIVIEWHIGH = 10;
171 VP8PROFILE_ANY = 11;
172 VP9PROFILE_PROFILE0 = 12;
173 VP9PROFILE_PROFILE1 = 13;
174 VP9PROFILE_PROFILE2 = 14;
175 VP9PROFILE_PROFILE3 = 15;
176 HEVCPROFILE_MAIN = 16;
177 HEVCPROFILE_MAIN10 = 17;
178 HEVCPROFILE_MAIN_STILL_PICTURE = 18;
179 };
180
181 // Proto version of media::VideoPixelFormat.
182 // NEVER change these numbers or re-use old ones; only add new ones.
183 enum Format {
184 PIXEL_FORMAT_UNKNOWN = 0;
185 PIXEL_FORMAT_I420 = 1;
186 PIXEL_FORMAT_YV12 = 2;
187 PIXEL_FORMAT_YV16 = 3;
188 PIXEL_FORMAT_YV12A = 4;
189 PIXEL_FORMAT_YV24 = 5;
190 PIXEL_FORMAT_NV12 = 6;
191 PIXEL_FORMAT_NV21 = 7;
192 PIXEL_FORMAT_UYVY = 8;
193 PIXEL_FORMAT_YUY2 = 9;
194 PIXEL_FORMAT_ARGB = 10;
195 PIXEL_FORMAT_XRGB = 11;
196 PIXEL_FORMAT_RGB24 = 12;
197 PIXEL_FORMAT_RGB32 = 13;
198 PIXEL_FORMAT_MJPEG = 14;
199 PIXEL_FORMAT_MT21 = 15;
200 PIXEL_FORMAT_YUV420P9 = 16;
201 PIXEL_FORMAT_YUV420P10 = 17;
202 PIXEL_FORMAT_YUV422P9 = 18;
203 PIXEL_FORMAT_YUV422P10 = 19;
204 PIXEL_FORMAT_YUV444P9 = 20;
205 PIXEL_FORMAT_YUV444P10 = 21;
206 PIXEL_FORMAT_YUV420P12 = 22;
207 PIXEL_FORMAT_YUV422P12 = 23;
208 PIXEL_FORMAT_YUV444P12 = 24;
209 PIXEL_FORMAT_Y8 = 25;
210 PIXEL_FORMAT_Y16 = 26;
211 PIXEL_FORMAT_I422 = 27;
212 };
213
214 // Proto version of media::ColorSpace.
215 // NEVER change these numbers or re-use old ones; only add new ones.
216 enum ColorSpace {
217 COLOR_SPACE_UNSPECIFIED = 0;
218 COLOR_SPACE_JPEG = 1;
219 COLOR_SPACE_HD_REC709 = 2;
220 COLOR_SPACE_SD_REC601 = 3;
221 };
222
223 optional Codec codec = 1;
224 optional EncryptionScheme encryption_scheme = 2;
225 optional Profile profile = 3;
226 optional Format format = 4;
227 optional ColorSpace color_space = 5;
228 optional Size coded_size = 6;
229 optional Rect visible_rect = 7;
230 optional Size natural_size = 8;
231 optional bytes extra_data = 9;
232 }
233
234 message DecryptConfig {
235 message SubSample {
236 optional uint32 clear_bytes = 1;
237 optional uint32 cypher_bytes = 2;
238 }
239
240 optional bytes key_id = 1;
241 optional bytes iv = 2;
242 repeated SubSample sub_samples = 3;
243 }
244
245 message PipelineStatistics {
246 optional uint64 audio_bytes_decoded = 1;
247 optional uint64 video_bytes_decoded = 2;
248 optional uint32 video_frames_decoded = 3;
249 optional uint32 video_frames_dropped = 4;
250 optional int64 audio_memory_usage = 5;
251 optional int64 video_memory_usage = 6;
252 };
253
254 message CdmKeyInformation {
255 // Proto version of media::CdmKeyInformation::KeyStatus.
256 // NEVER change these numbers or re-use old ones; only add new ones.
257 enum KeyStatus {
258 USABLE = 0;
259 INTERNAL_ERROR = 1;
260 EXPIRED = 2;
261 OUTPUT_RESTRICTED = 3;
262 OUTPUT_DOWNSCALED = 4;
263 KEY_STATUS_PENDING = 5;
264 RELEASED = 6;
265 }
266
267 optional bytes key_id = 1;
268 optional KeyStatus status = 2;
269 optional uint32 system_code = 3;
270 }
271
272 // Proto version of media::CdmPromise::Exception.
273 // NEVER change these numbers or re-use old ones; only add new ones.
274 enum CdmException {
275 NOT_SUPPORTED_ERROR = 0;
276 INVALID_STATE_ERROR = 1;
277 INVALID_ACCESS_ERROR = 2;
278 QUOTA_EXCEEDED_ERROR = 3;
279 UNKNOWN_ERROR = 4;
280 CLIENT_ERROR = 5;
281 OUTPUT_ERROR = 6;
282 }
283
284 // Proto version of media::ContentDecryptionModule::MessageType.
285 // NEVER change these numbers or re-use old ones; only add new ones.
286 enum CdmMessageType {
287 LICENSE_REQUEST = 0;
288 LICENSE_RENEWAL = 1;
289 LICENSE_RELEASE = 2;
290 }
291
292 // Proto version of media::CdmSessionType.
293 // NEVER change these numbers or re-use old ones; only add new ones.
294 enum CdmSessionType {
295 TEMPORARY_SESSION = 0;
296 PERSISTENT_LICENSE_SESSION = 1;
297 PERSISTENT_RELEASE_MESSAGE_SESSION = 2;
298 };
299
300 message RendererInitialize {
301 optional int32 client_handle = 1;
302 optional int32 audio_demuxer_handle = 2;
303 optional int32 video_demuxer_handle = 3;
304 optional int32 callback_handle = 4;
305 }
306
307 message RendererFlushUntil {
308 optional uint32 audio_count = 1;
309 optional uint32 video_count = 2;
310 optional int32 callback_handle = 3;
311 }
312
313 message RendererSetCdm {
314 optional int32 cdm_id = 1;
315 optional int32 callback_handle = 2;
316 }
317
318 message RendererClientOnTimeUpdate {
319 optional int64 time_usec = 1;
320 optional int64 max_time_usec = 2;
321 }
322
323 message RendererClientOnBufferingStateChange {
324 // Proto version of media::BufferingState.
325 // NEVER change these numbers or re-use old ones; only add new ones.
326 enum State {
327 BUFFERING_HAVE_NOTHING = 0;
328 BUFFERING_HAVE_ENOUGH = 1;
329 };
330
331 optional State state = 1;
332 }
333
334 message DemuxerStreamReadUntil {
335 optional int32 callback_handle = 1;
336 optional uint32 count = 2;
337 }
338
339 message DemuxerStreamInitializeCallback {
340 optional int32 type = 1;
341 optional AudioDecoderConfig audio_decoder_config = 2;
342 optional VideoDecoderConfig video_decoder_config = 3;
343 }
344
345 message DemuxerStreamReadUntilCallback {
346 // Proto version of media::DemuxerStream::Status.
347 // NEVER change these numbers or re-use old ones; only add new ones.
348 enum Status {
349 kOk = 0;
350 kAborted = 1;
351 kConfigChanged = 2;
352 };
353
354 optional Status status = 1;
355 optional uint32 count = 2;
356 optional AudioDecoderConfig audio_decoder_config = 3;
357 optional VideoDecoderConfig video_decoder_config = 4;
358 }
359
360 message CdmInitialize {
361 optional string key_system = 1;
362 optional string security_origin = 2;
363 optional bool allow_distinctive_identifier = 3;
364 optional bool allow_persistent_state = 4;
365 optional bool use_hw_secure_codecs = 5;
366 optional int32 callback_handle = 6;
367 }
368
369 message CdmSetServerCertificate {
370 optional int32 callback_handle = 1;
371 optional bytes certificate_data = 2;
372 }
373
374 message CdmCreateSessionAndGenerateRequest {
375 // Proto version of media::EmeInitDataType.
376 // NEVER change these numbers or re-use old ones; only add new ones.
377 enum EmeInitDataType {
378 UNKNOWN = 0;
379 WEBM = 1;
380 CENC = 2;
381 KEYIDS = 3;
382 };
383
384 optional CdmSessionType session_type = 1;
385 optional EmeInitDataType init_data_type = 2;
386 optional int32 callback_handle = 3;
387 optional bytes init_data = 4;
388 }
389
390 message CdmLoadSession {
391 optional CdmSessionType session_type = 1;
392 optional string session_id = 2;
393 optional int32 callback_handle = 3;
394 }
395
396 message CdmUpdateSession {
397 optional string session_id = 1;
398 optional int32 callback_handle = 2;
399 optional bytes response = 3;
400 }
401
402 message CdmCloseSession {
403 optional string session_id = 1;
404 optional int32 callback_handle = 2;
405 }
406
407 message CdmRemoveSession {
408 optional string session_id = 1;
409 optional int32 callback_handle = 2;
410 }
411
412 message CdmPromise {
413 // These two fields are used only for RPC_CDM_INITIALIZE_CALLBACK
414 optional int32 cdm_id = 1;
415 optional int32 decryptor_handle = 2;
416
417 optional string session_id = 3;
418 optional bool success = 4;
419 optional CdmException exception = 5;
420 optional uint32 system_code = 6;
421 optional string error_message = 7;
422 }
423
424 message CdmClientOnSessionMessage {
425 optional string session_id = 1;
426 optional CdmMessageType message_type = 2;
427 optional bytes message = 3;
428 }
429
430 message CdmClientOnSessionKeysChange {
431 optional string session_id = 1;
432 optional bool has_additional_usable_key = 2;
433 repeated CdmKeyInformation key_information = 3;
434 }
435
436 message CdmClientOnSessionExpirationUpdate {
437 optional string session_id = 1;
438 optional double new_expiry_time_sec = 2;
439 }
440
441 message RpcMessage {
442 enum RpcProc {
443 // Remoting setup
444 RPC_INTERNAL = 0;
445 RPC_ACQUIRE_RENDERER = 1;
446 RPC_ACQUIRE_RENDERER_DONE = 2;
447 RPC_ACQUIRE_CDM = 3;
448 RPC_ACQUIRE_CDM_DONE = 4;
449 // Renderer message
450 RPC_R_INITIALIZE = 1000;
451 RPC_R_FLUSHUNTIL = 1001;
452 RPC_R_STARTPLAYINGFROM = 1002;
453 RPC_R_SETPLAYBACKRATE = 1003;
454 RPC_R_SETVOLUME = 1004;
455 RPC_R_SETCDM = 1005;
456 // Renderer callbacks
457 RPC_R_INITIALIZE_CALLBACK = 1100;
458 RPC_R_FLUSHUNTIL_CALLBACK = 1101;
459 RPC_R_SETCDM_CALLBACK = 1102;
460 // Renderer client message
461 RPC_RC_ONTIMEUPDATE = 2000;
462 RPC_RC_ONBUFFERINGSTATECHANGE = 2001;
463 RPC_RC_ONENDED = 2002;
464 RPC_RC_ONERROR = 2003;
465 RPC_RC_ONVIDEONATURALSIZECHANGE = 2004;
466 RPC_RC_ONVIDEOOPACITYCHANGE = 2005;
467 RPC_RC_ONSTATISTICSUPDATE = 2006;
468 RPC_RC_ONWAITINGFORDECRYPTIONKEY = 2007;
469 RPC_RC_ONDURATIONCHANGE = 2008;
470 // DemuxerStream message
471 RPC_DS_INITIALIZE = 3000;
472 RPC_DS_READUNTIL = 3001;
473 RPC_DS_ENABLEBITSTREAMCONVERTER = 3002;
474 // DemuxerStream callbacks
475 RPC_DS_INITIALIZE_CALLBACK = 3100;
476 RPC_DS_READUNTIL_CALLBACK = 3101;
477 // ContentDecryptionModule
478 RPC_CDM_SETCLIENT = 4000;
479 RPC_CDM_INITIALIZE = 4001;
480 RPC_CDM_SETSERVERCERTIFICATE = 4002;
481 RPC_CDM_CREATESESSIONANDGENERATEREQUEST = 4003;
482 RPC_CDM_LOADSESSION = 4004;
483 RPC_CDM_UPDATESESSION = 4005;
484 RPC_CDM_CLOSESESSION = 4006;
485 RPC_CDM_REMOVESESSION = 4007;
486 // ContentDecryptionModule callbacks
487 RPC_CDM_INITIALIZE_CALLBACK = 4100;
488 RPC_CDM_SETSERVERCERTIFICATE_CALLBACK = 4101;
489 RPC_CDM_CREATESESSIONANDGENERATEREQUEST_CALLBACK = 4102;
490 RPC_CDM_LOADSESSION_CALLBACK = 4103;
491 RPC_CDM_UPDATESESSION_CALLBACK = 4104;
492 RPC_CDM_CLOSESESSION_CALLBACK = 4105;
493 RPC_CDM_REMOVESESSION_CALLBACK = 4106;
494 // ContentDecryptionModule client
495 RPC_CDMC_ONSESSIONMESSAGE = 5000;
496 RPC_CDMC_ONSESSIONCLOSED = 5001;
497 RPC_CDMC_ONSESSIONKEYSCHANGE = 5002;
498 RPC_CDMC_ONSESSIONEXPIRATIONUPDATE = 5003;
499 };
500
501 // Component base of RPC message handle. This allows both sender and receiver
502 // to send or handle message in desired individual components.
503 optional int32 handle = 1;
504
505 // RpcProc of this RPC message
506 optional RpcProc proc = 2;
507
508 oneof rpc_oneof {
509 // For simple RPC which only passes one parameters can use the following
510 // various data type variables without using specific proto data structure.
511 // RPC_ACQUIRE_RENDERER
512 // RPC_ACQUIRE_RENDERER_DONE
513 // RPC_ACQUIRE_CDM
514 // RPC_ACQUIRE_CDM_DONE
515 // RPC_DS_INITIALIZE_CALLBACK
516 // RPC_DS_READ
517 // RPC_CDM_SETCLIENT
518 int32 integer_value = 3;
519
520 // RPC_R_STARTPLAYINGFROM
521 // RPC_RC_ONDURATIONCHANGE
522 int64 integer64_value = 4;
523
524 // RPC_R_SETPLAYBACKRATE
525 // RPC_R_SETVOLUME
526 double double_value = 5;
527
528 // RPC_R_INITIALIZE_CALLBACK
529 // RPC_R_SETCDM_CALLBACK
530 // RPC_RC_ONVIDEOOPACITYCHANGE
531 bool boolean_value = 6;
532
533 // string only:
534 // RPC_CDMC_ONSESSIONCLOSED
535 string string_value = 7;
536
537 // RPC_R_INITIALIZE
538 RendererInitialize renderer_initialize_rpc = 100;
539
540 // RPC_R_FLUSHUNTIL
541 RendererFlushUntil renderer_flushuntil_rpc = 101;
542
543 // RPC_R_SETCDM
544 RendererSetCdm renderer_set_cdm_rpc = 102;
545
546 // RPC_RC_ONTIMEUPDATE
547 RendererClientOnTimeUpdate rendererclient_ontimeupdate_rpc = 200;
548 // RPC_RC_ONVIDEONATURALSIZECHANGE
549 Size rendererclient_onvideonatualsizechange_rpc = 201;
550 // RPC_RC_ONSTATISTICSUPDATE
551 PipelineStatistics rendererclient_onstatisticsupdate_rpc = 202;
552 // RPC_RC_ONTIMEUPDATE
553 RendererClientOnBufferingStateChange
554 rendererclient_onbufferingstatechange_rpc = 203;
555
556 // RPC_DS_READUNTIL
557 DemuxerStreamReadUntil demuxerstream_readuntil_rpc = 300;
558
559 // RPC_DS_INITIALIZE_CALLBACK
560 DemuxerStreamInitializeCallback demuxerstream_initializecb_rpc = 400;
561 // RPC_DS_READUNTIL_CALLBACK
562 DemuxerStreamReadUntilCallback demuxerstream_readuntilcb_rpc = 401;
563
564 // RPC_CDM_INITIALIZE
565 CdmInitialize cdm_initialize_rpc = 500;
566 // RPC_CDM_SETSERVERCERTIFICATE
567 CdmSetServerCertificate cdm_setservercertificate_rpc = 501;
568 // RPC_CDM_CREATESESSIONANDGENERATEREQUEST
569 CdmCreateSessionAndGenerateRequest cdm_createsessionandgeneraterequest_rpc =
570 502;
571 // RPC_CDM_LOADSESSION
572 CdmLoadSession cdm_loadsession_rpc = 503;
573 // RPC_CDM_UPDATESESSION
574 CdmUpdateSession cdm_updatesession_rpc = 504;
575 // RPC_CDM_CLOSESESSION
576 CdmCloseSession cdm_closesession_rpc = 505;
577 // RPC_CDM_REMOVESESSION
578 CdmRemoveSession cdm_removesession_rpc = 506;
579
580 // CdmPromise message type used for the following procedure
581 // RPC_CDM_INITIALIZE_CALLBACK
582 // RPC_CDM_SETSERVERCERTIFICATE_CALLBACK
583 // RPC_CDM_CREATESESSIONANDGENERATEREQUEST_CALLBACK
584 // RPC_CDM_LOADSESSION_CALLBACK
585 // RPC_CDM_UPDATESESSION_CALLBACK
586 // RPC_CDM_CLOSESESSION_CALLBACK
587 // RPC_CDM_REMOVESESSION_CALLBACK
588 CdmPromise cdm_promise_rpc = 600;
589
590 // RPC_CDMC_ONSESSIONMESSAGE
591 CdmClientOnSessionMessage cdmclient_onsessionmessage_rpc = 601;
592 // RPC_CDMC_ONSESSIONKEYSCHANGE
593 CdmClientOnSessionKeysChange cdmclient_onsessionkeychange_rpc = 602;
594 // RPC_CDMC_ONSESSIONEXPIRATIONUPDATE
595 CdmClientOnSessionExpirationUpdate cdmclient_onsessionexpirationupdate_rpc =
596 603;
597 };
598 }
OLDNEW
« no previous file with comments | « media/remoting/interstitial.cc ('k') | media/remoting/proto_enum_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698