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

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

Issue 2444683002: Move MediaKeys::Exception to CdmPromise::Exception (Closed)
Patch Set: include "media/base/media_keys.h" Created 4 years, 1 month 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/mojo/services/mojo_cdm_service.cc ('k') | media/remoting/rpc/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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 // Protocol buffer for Media Remoting. 5 // Protocol buffer for Media Remoting.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 OUTPUT_DOWNSCALED = 4; 250 OUTPUT_DOWNSCALED = 4;
251 KEY_STATUS_PENDING = 5; 251 KEY_STATUS_PENDING = 5;
252 RELEASED = 6; 252 RELEASED = 6;
253 } 253 }
254 254
255 optional bytes key_id = 1; 255 optional bytes key_id = 1;
256 optional KeyStatus status = 2; 256 optional KeyStatus status = 2;
257 optional uint32 system_code = 3; 257 optional uint32 system_code = 3;
258 } 258 }
259 259
260 // Should align with ::media::MediaKeys::Exception 260 // Should align with ::media::CdmPromise::Exception
261 enum MediaKeysException { 261 enum MediaKeysException {
262 NOT_SUPPORTED_ERROR = 0; 262 NOT_SUPPORTED_ERROR = 0;
263 INVALID_STATE_ERROR = 1; 263 INVALID_STATE_ERROR = 1;
264 INVALID_ACCESS_ERROR = 2; 264 INVALID_ACCESS_ERROR = 2;
265 QUOTA_EXCEEDED_ERROR = 3; 265 QUOTA_EXCEEDED_ERROR = 3;
266 UNKNOWN_ERROR = 4; 266 UNKNOWN_ERROR = 4;
267 CLIENT_ERROR = 5; 267 CLIENT_ERROR = 5;
268 OUTPUT_ERROR = 6; 268 OUTPUT_ERROR = 6;
269 } 269 }
270 270
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 559
560 // RPC_CDMC_ONSESSIONMESSAGE 560 // RPC_CDMC_ONSESSIONMESSAGE
561 CdmClientOnSessionMessage cdmclient_onsessionmessage_rpc = 601; 561 CdmClientOnSessionMessage cdmclient_onsessionmessage_rpc = 601;
562 // RPC_CDMC_ONSESSIONKEYSCHANGE 562 // RPC_CDMC_ONSESSIONKEYSCHANGE
563 CdmClientOnSessionKeysChange cdmclient_onsessionkeychange_rpc = 602; 563 CdmClientOnSessionKeysChange cdmclient_onsessionkeychange_rpc = 602;
564 // RPC_CDMC_ONSESSIONEXPIRATIONUPDATE 564 // RPC_CDMC_ONSESSIONEXPIRATIONUPDATE
565 CdmClientOnSessionExpirationUpdate cdmclient_onsessionexpirationupdate_rpc = 565 CdmClientOnSessionExpirationUpdate cdmclient_onsessionexpirationupdate_rpc =
566 603; 566 603;
567 }; 567 };
568 } 568 }
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_cdm_service.cc ('k') | media/remoting/rpc/proto_enum_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698