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

Side by Side Diff: chrome/browser/media/router/mojo/media_router.mojom

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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 | « cc/ipc/local_frame_id.mojom ('k') | chrome/common/importer/profile_import.mojom » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 module media_router.mojom; 5 module media_router.mojom;
6 6
7 import "mojo/common/common_custom_types.mojom"; 7 import "mojo/common/time.mojom";
8 8
9 // Represents an output sink to which media can be routed. 9 // Represents an output sink to which media can be routed.
10 struct MediaSink { 10 struct MediaSink {
11 enum IconType { 11 enum IconType {
12 CAST, 12 CAST,
13 CAST_AUDIO, 13 CAST_AUDIO,
14 CAST_AUDIO_GROUP, 14 CAST_AUDIO_GROUP,
15 GENERIC, 15 GENERIC,
16 HANGOUT 16 HANGOUT
17 }; 17 };
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 389
390 // Called when the a batch of messages arrives from the media sink for the 390 // Called when the a batch of messages arrives from the media sink for the
391 // route given by |route_id|. 391 // route given by |route_id|.
392 // |StartListeningForRouteMessages| must be called first in order to receive 392 // |StartListeningForRouteMessages| must be called first in order to receive
393 // messages. 393 // messages.
394 // |route_id|: ID of route of the messages. 394 // |route_id|: ID of route of the messages.
395 // |messages|: A non-empty list of messages received. 395 // |messages|: A non-empty list of messages received.
396 OnRouteMessagesReceived(string route_id, 396 OnRouteMessagesReceived(string route_id,
397 array<RouteMessage> messages); 397 array<RouteMessage> messages);
398 }; 398 };
OLDNEW
« no previous file with comments | « cc/ipc/local_frame_id.mojom ('k') | chrome/common/importer/profile_import.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698