// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module arc.mojom;
import "services/accessibility/android/public/mojom/accessibility_helper.mojom";
import "ash/components/arc/mojom/adbd.mojom";
import "ash/components/arc/mojom/appfuse.mojom";
import "ash/components/arc/mojom/app.mojom";
import "ash/components/arc/mojom/app_permissions.mojom";
import "ash/components/arc/mojom/arc_wifi.mojom";
import "ash/components/arc/mojom/audio.mojom";
import "ash/components/arc/mojom/auth.mojom";
import "ash/components/arc/mojom/backup_settings.mojom";
import "ash/components/arc/mojom/bluetooth.mojom";
import "ash/components/arc/mojom/boot_phase_monitor.mojom";
import "ash/components/arc/mojom/camera.mojom";
import "ash/components/arc/mojom/chrome_feature_flags.mojom";
import "ash/components/arc/mojom/clipboard.mojom";
import "ash/components/arc/mojom/compatibility_mode.mojom";
import "ash/components/arc/mojom/crash_collector.mojom";
import "ash/components/arc/mojom/digital_goods.mojom";
import "ash/components/arc/mojom/disk_space.mojom";
import "ash/components/arc/mojom/enterprise_reporting.mojom";
import "ash/components/arc/mojom/error_notification.mojom";
import "ash/components/arc/mojom/file_system.mojom";
import "ash/components/arc/mojom/iio_sensor.mojom";
import "ash/components/arc/mojom/ime.mojom";
import "ash/components/arc/mojom/input_method_manager.mojom";
import "ash/components/arc/mojom/intent_helper.mojom";
import "ash/components/arc/mojom/keyboard_shortcut.mojom";
import "ash/components/arc/mojom/keymaster.mojom";
import "ash/components/arc/mojom/keymint.mojom";
import "ash/components/arc/mojom/media_session.mojom";
import "ash/components/arc/mojom/memory.mojom";
import "ash/components/arc/mojom/metrics.mojom";
import "ash/components/arc/mojom/midis.mojom";
import "ash/components/arc/mojom/nearby_share.mojom";
import "ash/components/arc/mojom/net.mojom";
import "ash/components/arc/mojom/notifications.mojom";
import "ash/components/arc/mojom/obb_mounter.mojom";
import "ash/components/arc/mojom/oemcrypto.mojom";
import "ash/components/arc/mojom/pip.mojom";
import "ash/components/arc/mojom/policy.mojom";
import "ash/components/arc/mojom/power.mojom";
import "ash/components/arc/mojom/print_spooler.mojom";
import "ash/components/arc/mojom/privacy_items.mojom";
import "ash/components/arc/mojom/process.mojom";
import "ash/components/arc/mojom/property.mojom";
import "ash/components/arc/mojom/screen_capture.mojom";
import "ash/components/arc/mojom/sharesheet.mojom";
import "ash/components/arc/mojom/storage_manager.mojom";
import "ash/components/arc/mojom/system_state.mojom";
import "ash/components/arc/mojom/system_ui.mojom";
import "ash/components/arc/mojom/timer.mojom";
import "ash/components/arc/mojom/tracing.mojom";
import "ash/components/arc/mojom/tts.mojom";
import "ash/components/arc/mojom/usb_host.mojom";
import "ash/components/arc/mojom/video.mojom";
import "ash/components/arc/mojom/volume_mounter.mojom";
import "ash/components/arc/mojom/wake_lock.mojom";
import "ash/components/arc/mojom/wallpaper.mojom";
import "ash/components/arc/mojom/webapk.mojom";
import "chromeos/components/payments/mojom/payment_app.mojom";
// Next MinVersion: 68
// Deprecated method IDs: 101, 105, 121, 126, 132, 134, 136, 137, 153, 154, 160
// Next method ID: 173
interface ArcBridgeHost {
// Keep the entries alphabetical. In order to do so without breaking
// compatibility with the ARC instance, explicitly assign each interface a
// unique ordinal.
// Notifies Chrome that the AccessibilityHelperInstance interface is ready.
[MinVersion=21] OnAccessibilityHelperInstanceReady@127(
pending_remote<ax.android.mojom.AccessibilityHelperInstance>
instance_remote);
// Notifies Chrome that the AdbdMonitorInstance interface is ready.
[MinVersion=53] OnAdbdMonitorInstanceReady@158(
pending_remote<AdbdMonitorInstance> instance_remote);
// Notifies Chrome that the AppInstance interface is ready.
OnAppInstanceReady@100(pending_remote<AppInstance> instance_remote);
// Notifies Chrome that the AppPermissionsInstance interface is ready.
[MinVersion=44] OnAppPermissionsInstanceReady@149(
pending_remote<AppPermissionsInstance> instance_remote);
// Notifies Chrome that the AppfuseInstance interface is ready.
[MinVersion=40] OnAppfuseInstanceReady@145(
pending_remote<AppfuseInstance> instance_remote);
// Notifies Chrome that the ArcWifiInstance interface is ready.
[MinVersion=66] OnArcWifiInstanceReady@171(
pending_remote<ArcWifiInstance> instance_remote);
// Notifies Chrome that the AudioInstance interface is ready.
[MinVersion=8] OnAudioInstanceReady@115(
pending_remote<AudioInstance> instance_remote);
// Notifies Chrome that the AuthInstance interface is ready.
[MinVersion=1] OnAuthInstanceReady@106(
pending_remote<AuthInstance> instance_remote);
// Notifies Chrome that the BackupSettingsInstance interface is ready.
[MinVersion=33] OnBackupSettingsInstanceReady@138(
pending_remote<BackupSettingsInstance> instance_remote);
// Notifies Chrome that the BluetoothInstance interface is ready.
[MinVersion=9] OnBluetoothInstanceReady@113(
pending_remote<BluetoothInstance> instance_remote);
// Notifies Chrome that the BootPhaseMonitorInstance interface is ready.
[MinVersion=19] OnBootPhaseMonitorInstanceReady@125(
pending_remote<BootPhaseMonitorInstance> instance_remote);
// Notifies Chrome that the CameraInstance is ready.
[MinVersion=46] OnCameraInstanceReady@151(
pending_remote<CameraInstance> instance_remote);
// Notifies Chrome that the ChromeFeatureFlagsInstance interface is ready.
[MinVersion=65] OnChromeFeatureFlagsInstanceReady@170(
pending_remote<ChromeFeatureFlagsInstance> instance_remote);
// Notifies Chrome that the ClipboardInstance interface is ready.
[MinVersion=2] OnClipboardInstanceReady@109(
pending_remote<ClipboardInstance> instance_remote);
// Notifies Chrome that the CompatibilityModeInstance interface is ready.
[MinVersion=56] OnCompatibilityModeInstanceReady@161(
pending_remote<CompatibilityModeInstance> instance_remote);
// Notifies Chrome that the CrashCollectorInstance interface is ready.
[MinVersion=7] OnCrashCollectorInstanceReady@112(
pending_remote<CrashCollectorInstance> instance_remote);
// Notifies Chrome that the DigitalGoodsInstance interface is ready.
[MinVersion=51] OnDigitalGoodsInstanceReady@156(
pending_remote<DigitalGoodsInstance> instance_remote);
// Notifies Chrome that the DiskSpaceInstance interface is ready.
[MinVersion=39] OnDiskSpaceInstanceReady@144(
pending_remote<DiskSpaceInstance> instance_remote);
// Notifies Chrome that the EnterpriseReportingInstance interface is ready.
[MinVersion=15] OnEnterpriseReportingInstanceReady@122(
pending_remote<EnterpriseReportingInstance> instance_remote);
// Notifies Chrome that the ErrorNotificationInstance interface is ready.
[MinVersion=67] OnErrorNotificationInstanceReady@172(
pending_remote<ErrorNotificationInstance> instance_remote);
// Notifies Chrome that the FileSystemInstance interface is ready.
[MinVersion=13] OnFileSystemInstanceReady@119(
pending_remote<FileSystemInstance> instance_remote);
// Notifies Chrome that the IioSensorInstance interface is ready.
[MinVersion=54] OnIioSensorInstanceReady@159(
pending_remote<IioSensorInstance> instance_remote);
// Notifies Chrome that the ImeInstance interface is ready.
[MinVersion=3] OnImeInstanceReady@110(
pending_remote<ImeInstance> instance_remote);
// Notifies Chrome that the InputMethodManagerInstance interface is ready.
[MinVersion=38] OnInputMethodManagerInstanceReady@143(
pending_remote<InputMethodManagerInstance> instance_remote);
// Notifies Chrome that the IntentHelperInstance interface is ready.
[MinVersion=4] OnIntentHelperInstanceReady@111(
pending_remote<IntentHelperInstance> instance_remote);
// Notifies Chrome that the KeyboardShortcutInstance interface is ready.
[MinVersion=60] OnKeyboardShortcutInstanceReady@165(
pending_remote<KeyboardShortcutInstance> instance_remote);
// Notifies Chrome that the KeymasterInstance interface is ready.
[MinVersion=47] OnKeymasterInstanceReady@152(
pending_remote<KeymasterInstance> instance_remote);
// Notifies Chrome that the KeyMintInstance interface is ready.
[MinVersion=63] OnKeyMintInstanceReady@168(
pending_remote<keymint.KeyMintInstance> instance_remote);
// Notifies Chrome that the MediaSessionInstance interface is ready.
[MinVersion=43] OnMediaSessionInstanceReady@148(
pending_remote<MediaSessionInstance> instance_remote);
// Notifies Chrome that the MemoryInstance interface is ready.
[MinVersion=59] OnMemoryInstanceReady@164(
pending_remote<MemoryInstance> instance_remote);
// Notifies Chrome that the MetricsInstance interface is ready.
[MinVersion=10] OnMetricsInstanceReady@116(
pending_remote<MetricsInstance> instance_remote);
// Notifies Chrome that the MidisInstance interface is ready.
[MinVersion=30] OnMidisInstanceReady@135(
pending_remote<MidisInstance> instance_remote);
// Notifies Chrome that the NearbyShareInstance interface is ready.
[MinVersion=58] OnNearbyShareInstanceReady@163(
pending_remote<NearbyShareInstance> instance_remote);
// Notifies Chrome that the NetInstance interface is ready.
[MinVersion=5] OnNetInstanceReady@108(
pending_remote<NetInstance> instance_remote);
// Notifies Chrome that the NotificationsInstance interface is ready.
OnNotificationsInstanceReady@102(
pending_remote<NotificationsInstance> instance_remote);
// Notifies Chrome that the ObbMounter interface is ready.
[MinVersion=14] OnObbMounterInstanceReady@120(
pending_remote<ObbMounterInstance> instance_remote);
// Notifies Chrome that the OemCryptoInstance interface is ready.
[MinVersion=28] OnOemCryptoInstanceReady@133(
pending_remote<OemCryptoInstance> instance_remote);
// Notifies Chrome that the PaymentAppInstance interface is ready.
[MinVersion=50] OnPaymentAppInstanceReady@155(
pending_remote<chromeos.payments.mojom.PaymentAppInstance>
instance_remote);
// Notifies Chrome that the PipInstance interface is ready.
[MinVersion=41] OnPipInstanceReady@146(
pending_remote<PipInstance> instance_remote);
// Notifies Chrome that the PolicyInstance interface is ready.
[MinVersion=7] OnPolicyInstanceReady@114(
pending_remote<PolicyInstance> instance_remote);
// Notifies Chrome that the PowerInstance interface is ready.
OnPowerInstanceReady@103(pending_remote<PowerInstance> instance_remote);
// Notifies Chrome that the PrintSpoolerInstance interface is ready.
[MinVersion=45] OnPrintSpoolerInstanceReady@150(
pending_remote<PrintSpoolerInstance> instance_remote);
// Notifies Chrome that the PrivacyItemsInstance interface is ready.
[MinVersion=61] OnPrivacyItemsInstanceReady@166(
pending_remote<PrivacyItemsInstance> instance_remote);
// Notifies Chrome that the ProcessInstance interface is ready.
OnProcessInstanceReady@104(pending_remote<ProcessInstance> instance_remote);
// Notifies Chrome that the PropertyInstance interface is ready.
[MinVersion=42] OnPropertyInstanceReady@147(
pending_remote<PropertyInstance> instance_remote);
// Notifies Chrome that the ScreenCaptureInstance interface is ready.
[MinVersion=35] OnScreenCaptureInstanceReady@140(
pending_remote<ScreenCaptureInstance> instance_remote);
// Notifies Chrome that the SharesheetInstance interface is ready.
[MinVersion=52] OnSharesheetInstanceReady@157(
pending_remote<SharesheetInstance> instance_remote);
// Notifies Chrome that the StorageManagerInstance interface is ready.
[MinVersion=12] OnStorageManagerInstanceReady@118(
pending_remote<StorageManagerInstance> instance_remote);
// Notifies Chrome that the SystemStateInstance interface is ready.
[MinVersion=64] OnSystemStateInstanceReady@169(
pending_remote<SystemStateInstance> instance_remote);
// Notifies Chrome that the SystemUiInstance interface is ready.
[MinVersion=62] OnSystemUiInstanceReady@167(
pending_remote<SystemUiInstance> instance_remote);
// Notifies Chrome that the TimerInstance interface is ready.
[MinVersion=36] OnTimerInstanceReady@141(
pending_remote<TimerInstance> instance_remote);
// Notifies Chrome that the TracingInstance interface is ready.
[MinVersion=22] OnTracingInstanceReady@128(
pending_remote<TracingInstance> instance_remote);
// Notifies Chrome that the TtsInstance interface is ready.
[MinVersion=17] OnTtsInstanceReady@123(
pending_remote<TtsInstance> instance_remote);
// Notifies Chrome that the UsbHostInstance interface is ready.
[MinVersion=34] OnUsbHostInstanceReady@139(
pending_remote<UsbHostInstance> instance_remote);
// Notifies Chrome that the VideoInstance interface is ready.
[MinVersion=6] OnVideoInstanceReady@107(
pending_remote<VideoInstance> instance_remote);
// Notifies Chrome that the VolumeMounter interface is ready.
[MinVersion=25] OnVolumeMounterInstanceReady@131(
pending_remote<VolumeMounterInstance> instance_remote);
// Notifies Chrome that the WakeLockInstance interface is ready.
[MinVersion=37] OnWakeLockInstanceReady@142(
pending_remote<WakeLockInstance> instance_remote);
// Notifies Chrome that the WallpaperInstance interface is ready.
[MinVersion=18] OnWallpaperInstanceReady@124(
pending_remote<WallpaperInstance> instance_remote);
// Notifies Chrome that the WebApkInstance interface is ready.
[MinVersion=57] OnWebApkInstanceReady@162(
pending_remote<WebApkInstance> instance_ptr);
};