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

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

Issue 2400163003: arc: enable Android tracing in verified-boot mode (Closed)
Patch Set: Use struct instead of pair to save category data and fix lints Created 4 years, 2 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.mojom; 5 module arc.mojom;
6 6
7 import "app.mojom"; 7 import "app.mojom";
8 import "audio.mojom"; 8 import "audio.mojom";
9 import "auth.mojom"; 9 import "auth.mojom";
10 import "bluetooth.mojom"; 10 import "bluetooth.mojom";
11 import "boot_phase_monitor.mojom"; 11 import "boot_phase_monitor.mojom";
12 import "clipboard.mojom"; 12 import "clipboard.mojom";
13 import "crash_collector.mojom"; 13 import "crash_collector.mojom";
14 import "enterprise_reporting.mojom"; 14 import "enterprise_reporting.mojom";
15 import "file_system.mojom"; 15 import "file_system.mojom";
16 import "ime.mojom"; 16 import "ime.mojom";
17 import "intent_helper.mojom"; 17 import "intent_helper.mojom";
18 import "metrics.mojom"; 18 import "metrics.mojom";
19 import "net.mojom"; 19 import "net.mojom";
20 import "notifications.mojom"; 20 import "notifications.mojom";
21 import "obb_mounter.mojom"; 21 import "obb_mounter.mojom";
22 import "policy.mojom"; 22 import "policy.mojom";
23 import "power.mojom"; 23 import "power.mojom";
24 import "print.mojom"; 24 import "print.mojom";
25 import "process.mojom"; 25 import "process.mojom";
26 import "storage_manager.mojom"; 26 import "storage_manager.mojom";
27 import "trace.mojom";
27 import "tts.mojom"; 28 import "tts.mojom";
28 import "video.mojom"; 29 import "video.mojom";
29 import "wallpaper.mojom"; 30 import "wallpaper.mojom";
30 31
31 // Next MinVersion: 20 32 // Next MinVersion: 21
32 // Deprecated method IDs: 101, 105 33 // Deprecated method IDs: 101, 105
33 // Next method ID: 126 34 // Next method ID: 127
34 interface ArcBridgeHost { 35 interface ArcBridgeHost {
35 // Keep the entries alphabetical. In order to do so without breaking 36 // Keep the entries alphabetical. In order to do so without breaking
36 // compatibility with the ARC instance, explicitly assign each interface a 37 // compatibility with the ARC instance, explicitly assign each interface a
37 // unique ordinal. 38 // unique ordinal.
38 39
39 // Notifies Chrome that the AppInstance interface is ready. 40 // Notifies Chrome that the AppInstance interface is ready.
40 OnAppInstanceReady@100(AppInstance instance_ptr); 41 OnAppInstanceReady@100(AppInstance instance_ptr);
41 42
42 // Notifies Chrome that the AudioInstance interface is ready. 43 // Notifies Chrome that the AudioInstance interface is ready.
43 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); 44 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta nce_ptr); 103 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta nce_ptr);
103 104
104 // Notifies Chrome that the TtsInstance interface is ready. 105 // Notifies Chrome that the TtsInstance interface is ready.
105 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr); 106 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr);
106 107
107 // Notifies Chrome that the VideoInstance interface is ready. 108 // Notifies Chrome that the VideoInstance interface is ready.
108 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); 109 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr);
109 110
110 // Notifies Chrome that the WallpaperInstance interface is ready. 111 // Notifies Chrome that the WallpaperInstance interface is ready.
111 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr); 112 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr);
113
114 // Notifies Chrome that the TraceInstance interface is ready.
115 [MinVersion=20] OnTraceInstanceReady@126(TraceInstance instance_ptr);
112 }; 116 };
113 117
114 interface ArcBridgeInstance { 118 interface ArcBridgeInstance {
115 // Establishes full-duplex communication with the host. 119 // Establishes full-duplex communication with the host.
116 // |host_ptr| is the MessagePipe endpoint that is bound to the 120 // |host_ptr| is the MessagePipe endpoint that is bound to the
117 // ArcBridgeHostPtr binding. 121 // ArcBridgeHostPtr binding.
118 Init@0(ArcBridgeHost host_ptr); 122 Init@0(ArcBridgeHost host_ptr);
119 }; 123 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698