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

Side by Side Diff: components/cast_channel/proto/cast_channel.proto

Issue 2913033003: [cast_channel] Move cast_channel related files from //extensions to //components (Closed)
Patch Set: fix buildbot compile errors Created 3 years, 6 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package extensions.api.cast_channel; 9 package cast_channel;
10 10
11 message CastMessage { 11 message CastMessage {
12 // Always pass a version of the protocol for future compatibility 12 // Always pass a version of the protocol for future compatibility
13 // requirements. 13 // requirements.
14 enum ProtocolVersion { 14 enum ProtocolVersion { CASTV2_1_0 = 0; }
15 CASTV2_1_0 = 0;
16 }
17 required ProtocolVersion protocol_version = 1; 15 required ProtocolVersion protocol_version = 1;
18 16
19 // source and destination ids identify the origin and destination of the 17 // source and destination ids identify the origin and destination of the
20 // message. They are used to route messages between endpoints that share a 18 // message. They are used to route messages between endpoints that share a
21 // device-to-device channel. 19 // device-to-device channel.
22 // 20 //
23 // For messages between applications: 21 // For messages between applications:
24 // - The sender application id is a unique identifier generated on behalf of 22 // - The sender application id is a unique identifier generated on behalf of
25 // the sender application. 23 // the sender application.
26 // - The receiver id is always the the session id for the application. 24 // - The receiver id is always the the session id for the application.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 required ErrorType error_type = 1; 90 required ErrorType error_type = 1;
93 } 91 }
94 92
95 message DeviceAuthMessage { 93 message DeviceAuthMessage {
96 // Request fields 94 // Request fields
97 optional AuthChallenge challenge = 1; 95 optional AuthChallenge challenge = 1;
98 // Response fields 96 // Response fields
99 optional AuthResponse response = 2; 97 optional AuthResponse response = 2;
100 optional AuthError error = 3; 98 optional AuthError error = 3;
101 } 99 }
OLDNEW
« no previous file with comments | « components/cast_channel/proto/authority_keys.proto ('k') | components/cast_channel/proto/logging.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698