| Index: chrome/browser/extensions/api/cast_channel/cast_channel.proto
|
| ===================================================================
|
| --- chrome/browser/extensions/api/cast_channel/cast_channel.proto (revision 230132)
|
| +++ chrome/browser/extensions/api/cast_channel/cast_channel.proto (working copy)
|
| @@ -53,3 +53,25 @@
|
| optional bytes payload_binary = 7;
|
| }
|
|
|
| +// Protos for auth challenge and response
|
| +message AuthChallenge {
|
| +}
|
| +
|
| +message AuthResponse {
|
| + required bytes signature = 1;
|
| + required bytes client_auth_certificate = 2;
|
| +}
|
| +
|
| +message AuthError {
|
| + enum ErrorType {
|
| + INTERNAL_ERROR = 0;
|
| + NO_TLS = 1; // The underlying connection is not TLS
|
| + }
|
| + required ErrorType error_type = 1;
|
| +}
|
| +
|
| +message DeviceAuthMessage {
|
| + optional AuthChallenge challenge = 1;
|
| + optional AuthResponse response = 2;
|
| + optional AuthError error = 3;
|
| +}
|
|
|