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

Side by Side Diff: extensions/common/mojo/wifi_display_session_service.mojom

Issue 2526173003: [chrome.displaySource] Move mojo interfaces to a nested namespace. (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
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 extensions; 5 module extensions.mojom;
6 6
7 struct WiFiDisplayMediaPacket { 7 struct WiFiDisplayMediaPacket {
8 array<uint8> data; 8 array<uint8> data;
9 }; 9 };
10 10
11 // WiFiDisplaySessionService class provides access to the network for 11 // WiFiDisplaySessionService class provides access to the network for
12 // the render-hosted Wi-Fi Display session. 12 // the render-hosted Wi-Fi Display session.
13 interface WiFiDisplaySessionService { 13 interface WiFiDisplaySessionService {
14 SetClient(WiFiDisplaySessionServiceClient client); 14 SetClient(WiFiDisplaySessionServiceClient client);
15 15
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // This interface is used to send media stream to the 51 // This interface is used to send media stream to the
52 // connected sink. 52 // connected sink.
53 interface WiFiDisplayMediaService { 53 interface WiFiDisplayMediaService {
54 // Sets the destination point for sending media stream. 54 // Sets the destination point for sending media stream.
55 SetDesinationPoint(string ip_address, int32 port) => (bool success); 55 SetDesinationPoint(string ip_address, int32 port) => (bool success);
56 56
57 // Sends media packet to the destination point. 57 // Sends media packet to the destination point.
58 SendMediaPacket(WiFiDisplayMediaPacket packet); 58 SendMediaPacket(WiFiDisplayMediaPacket packet);
59 }; 59 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698