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

Side by Side Diff: components/arc/common/arc_bridge.mojom

Issue 1572483002: Implement OnGetNetworks for net.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing OnNetInstanceReady and CloseNetChannel calls Created 4 years, 11 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 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 arc; 5 module arc;
6 6
7 import "app.mojom"; 7 import "app.mojom";
8 import "auth.mojom"; 8 import "auth.mojom";
9 import "clipboard.mojom"; 9 import "clipboard.mojom";
10 import "ime.mojom"; 10 import "ime.mojom";
11 import "input.mojom"; 11 import "input.mojom";
12 import "intent_helper.mojom"; 12 import "intent_helper.mojom";
13 import "net.mojom";
13 import "notifications.mojom"; 14 import "notifications.mojom";
14 import "power.mojom"; 15 import "power.mojom";
15 import "process.mojom"; 16 import "process.mojom";
16 import "settings.mojom"; 17 import "settings.mojom";
17 import "video.mojom"; 18 import "video.mojom";
18 19
19 interface ArcBridgeHost { 20 interface ArcBridgeHost {
20 // Keep the entries alphabetical. In order to do so without breaking 21 // Keep the entries alphabetical. In order to do so without breaking
21 // compatibility with the ARC instance, explicitly assign each interface a 22 // compatibility with the ARC instance, explicitly assign each interface a
22 // unique ordinal. 23 // unique ordinal.
(...skipping 10 matching lines...) Expand all
33 // Notifies Chrome that the ImeInstance interface is ready. 34 // Notifies Chrome that the ImeInstance interface is ready.
34 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); 35 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr);
35 36
36 // Notifies Chrome that the InputInstnace interface is ready. 37 // Notifies Chrome that the InputInstnace interface is ready.
37 OnInputInstanceReady@101(InputInstance instance_ptr); 38 OnInputInstanceReady@101(InputInstance instance_ptr);
38 39
39 // Notifies Chrome that the IntentHelpernstnace interface is ready. 40 // Notifies Chrome that the IntentHelpernstnace interface is ready.
40 [MinVersion=4] OnIntentHelperInstanceReady@111( 41 [MinVersion=4] OnIntentHelperInstanceReady@111(
41 IntentHelperInstance instance_ptr); 42 IntentHelperInstance instance_ptr);
42 43
44 // Notifies Chrome that the NetInstance interface is ready.
45 [MinVersion=5] OnNetInstanceReady@108(NetInstance instance_ptr);
46
43 // Notifies Chrome that the NotificationsInstance interface is ready. 47 // Notifies Chrome that the NotificationsInstance interface is ready.
44 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); 48 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr);
45 49
46 // Notifies Chrome that the PowerInstance interface is ready. 50 // Notifies Chrome that the PowerInstance interface is ready.
47 OnPowerInstanceReady@103(PowerInstance instance_ptr); 51 OnPowerInstanceReady@103(PowerInstance instance_ptr);
48 52
49 // Notifies Chrome that the ProcessInstance interface is ready. 53 // Notifies Chrome that the ProcessInstance interface is ready.
50 OnProcessInstanceReady@104(ProcessInstance instance_ptr); 54 OnProcessInstanceReady@104(ProcessInstance instance_ptr);
51 55
52 // Notifies Chrome that the SettingsInstance interface is ready. 56 // Notifies Chrome that the SettingsInstance interface is ready.
53 OnSettingsInstanceReady@105(SettingsInstance instance_ptr); 57 OnSettingsInstanceReady@105(SettingsInstance instance_ptr);
54 58
55 // Notifies Chrome that the VideoInstance interface is ready. 59 // Notifies Chrome that the VideoInstance interface is ready.
56 [MinVersion=2] OnVideoInstanceReady@107(VideoInstance instance_ptr); 60 [MinVersion=2] OnVideoInstanceReady@107(VideoInstance instance_ptr);
57 }; 61 };
58 62
59 interface ArcBridgeInstance { 63 interface ArcBridgeInstance {
60 // Establishes full-duplex communication with the host. 64 // Establishes full-duplex communication with the host.
61 // |host_ptr| is the MessagePipe endpoint that is bound to the 65 // |host_ptr| is the MessagePipe endpoint that is bound to the
62 // ArcBridgeHostPtr binding. 66 // ArcBridgeHostPtr binding.
63 Init@0(ArcBridgeHost host_ptr); 67 Init@0(ArcBridgeHost host_ptr);
64 }; 68 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698