Commit 6ffcb74a authored by Erik Chen's avatar Erik Chen Committed by Commit Bot

Add UUID to all crosapi interfaces

This CL has no intended behavior change.

This is in preparation for providing a synchronous mechanism to query
interface versions.

Bug: 1136652
Change-Id: I2c9d73887b6cf95c874fbda565cede3256fc237c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462672
Commit-Queue: Erik Chen <erikchen@chromium.org>
Auto-Submit: Erik Chen <erikchen@chromium.org>
Reviewed-by: default avatarGreg Kerr <kerrnel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815800}
parent a9527566
...@@ -39,7 +39,7 @@ struct Account { ...@@ -39,7 +39,7 @@ struct Account {
// Interface for observers of Chrome OS Account Manager. // Interface for observers of Chrome OS Account Manager.
// This interface is implemented by lacros-chrome, and is used by ash-chrome to // This interface is implemented by lacros-chrome, and is used by ash-chrome to
// send account update notifications. // send account update notifications.
[Stable] [Stable, Uuid="f75c4963-497b-411f-97ab-c53c7f6b46ed"]
interface AccountManagerObserver { interface AccountManagerObserver {
// Called when the token for |account| is updated/inserted. // Called when the token for |account| is updated/inserted.
// Note: Observers which register with |AccountManager| before its // Note: Observers which register with |AccountManager| before its
...@@ -67,7 +67,7 @@ interface AccountManagerObserver { ...@@ -67,7 +67,7 @@ interface AccountManagerObserver {
// //
// Next version: 2 // Next version: 2
// Next method id: 2 // Next method id: 2
[Stable] [Stable, Uuid="85b9a674-9d8e-497f-98d5-22c8dca6f2b8"]
interface AccountManager { interface AccountManager {
// Returns |true| if Chrome OS Account Manager has been fully initialized, and // Returns |true| if Chrome OS Account Manager has been fully initialized, and
// |false| otherwise. // |false| otherwise.
......
...@@ -33,7 +33,7 @@ struct LacrosInfo { ...@@ -33,7 +33,7 @@ struct LacrosInfo {
// //
// Next version: 5 // Next version: 5
// Next method id: 8 // Next method id: 8
[Stable] [Stable, Uuid="8b79c34f-2bf8-4499-979a-b17cac522c1e"]
interface AshChromeService { interface AshChromeService {
// Binds Chrome OS Account Manager for Identity management. // Binds Chrome OS Account Manager for Identity management.
// Added in M87. // Added in M87.
...@@ -121,7 +121,7 @@ struct LacrosInitParams { ...@@ -121,7 +121,7 @@ struct LacrosInitParams {
// LacrosChromeService defines the APIs that live in lacros-chrome and // LacrosChromeService defines the APIs that live in lacros-chrome and
// are accessed from ash-chrome. // are accessed from ash-chrome.
[Stable] [Stable, Uuid="4e04dc16-b34c-40fd-9e3f-3c55c2c6cf91"]
interface LacrosChromeService { interface LacrosChromeService {
// Ash-chrome can pass initialize parameters via this method. // Ash-chrome can pass initialize parameters via this method.
// The parameters are available on lacros-chrome startup. // The parameters are available on lacros-chrome startup.
......
...@@ -36,7 +36,7 @@ struct FeedbackInfo { ...@@ -36,7 +36,7 @@ struct FeedbackInfo {
// This interface is implemented by ash-chrome. It allows lacros-chrome to // This interface is implemented by ash-chrome. It allows lacros-chrome to
// request ash-chrome to display Feedback ui. // request ash-chrome to display Feedback ui.
[Stable] [Stable, Uuid="f95688a1-3076-484f-852f-65772f2a2f68"]
interface Feedback { interface Feedback {
// Displays the Feedback ui. // Displays the Feedback ui.
ShowFeedbackPage@0(FeedbackInfo feedback_info); ShowFeedbackPage@0(FeedbackInfo feedback_info);
......
...@@ -47,7 +47,7 @@ union GetKeyStoresResult { ...@@ -47,7 +47,7 @@ union GetKeyStoresResult {
// This interface is implemented by ash-chrome. It provides lacros-chrome a // This interface is implemented by ash-chrome. It provides lacros-chrome a
// mechanism to modify and query the attestation-only and generate purpose // mechanism to modify and query the attestation-only and generate purpose
// keystores. // keystores.
[Stable] [Stable, Uuid="308635fd-110b-4f24-bfa8-9f43be31c61e"]
interface KeystoreService { interface KeystoreService {
// This API serves a challenge to a special "attestation-only" keystore. This // This API serves a challenge to a special "attestation-only" keystore. This
// keystore only contains 2 private keys (1 for the user, 1 for the device). // keystore only contains 2 private keys (1 for the user, 1 for the device).
......
...@@ -10,7 +10,7 @@ import "mojo/public/mojom/base/string16.mojom"; ...@@ -10,7 +10,7 @@ import "mojo/public/mojom/base/string16.mojom";
// Handles notifications created via the Notifications web platform API and the // Handles notifications created via the Notifications web platform API and the
// chrome.notifications() extension API. Shows the notifications in the // chrome.notifications() extension API. Shows the notifications in the
// message center. Implemented in ash-chrome. // message center. Implemented in ash-chrome.
[Stable] [Stable, Uuid="0d9c1eb6-a383-45c0-ac11-2336e1227f74"]
interface MessageCenter { interface MessageCenter {
// Displays a notification. If the notification's ID is the same as an // Displays a notification. If the notification's ID is the same as an
// existing notification, that notification is replaced. The delegate will be // existing notification, that notification is replaced. The delegate will be
...@@ -30,7 +30,7 @@ interface MessageCenter { ...@@ -30,7 +30,7 @@ interface MessageCenter {
// Handles responses to user actions on notifications. Multiple actions may // Handles responses to user actions on notifications. Multiple actions may
// occur on a single notification. For example, clicking a notification button // occur on a single notification. For example, clicking a notification button
// may not close the notification. Implemented in lacros-chrome. // may not close the notification. Implemented in lacros-chrome.
[Stable] [Stable, Uuid="1a850ac9-a813-4d0d-aa2d-b0d6cf10d548"]
interface NotificationDelegate { interface NotificationDelegate {
// Called when a notification previously displayed by the client is closed. // Called when a notification previously displayed by the client is closed.
OnNotificationClosed@0(bool by_user); OnNotificationClosed@0(bool by_user);
......
...@@ -19,7 +19,7 @@ struct SnapshotSource { ...@@ -19,7 +19,7 @@ struct SnapshotSource {
// This interface is used to capture bitmap snapshots of screens or windows. // This interface is used to capture bitmap snapshots of screens or windows.
// See ScreenManager methods used to create instances of this interface. // See ScreenManager methods used to create instances of this interface.
[Stable] [Stable, Uuid="90487679-7dc8-40ad-a1e4-e741def0d79f"]
interface SnapshotCapturer { interface SnapshotCapturer {
// Returns list of screens or windows that can be captured. // Returns list of screens or windows that can be captured.
[Sync] [Sync]
...@@ -43,7 +43,7 @@ interface SnapshotCapturer { ...@@ -43,7 +43,7 @@ interface SnapshotCapturer {
// TODO(https://crbug.com/1094460): This is a very simple interface. We will // TODO(https://crbug.com/1094460): This is a very simple interface. We will
// likely want to replace it with a more feature-complete and performant // likely want to replace it with a more feature-complete and performant
// interface in the future. // interface in the future.
[Stable] [Stable, Uuid="95c3035c-5c63-45e3-8ec8-dd2a344c7dc2"]
interface ScreenManager { interface ScreenManager {
// DEPRECATED. Use |GetScreenCapturer| instead. // DEPRECATED. Use |GetScreenCapturer| instead.
// //
......
...@@ -137,7 +137,7 @@ struct SelectedFileInfo { ...@@ -137,7 +137,7 @@ struct SelectedFileInfo {
// Select file dialog interface. Wrapper around the C++ SelectFileDialog // Select file dialog interface. Wrapper around the C++ SelectFileDialog
// class. Called from lacros-chrome. Implemented in ash-chrome using the // class. Called from lacros-chrome. Implemented in ash-chrome using the
// file manager dialog. // file manager dialog.
[Stable] [Stable, Uuid="8c0eb5f3-4c90-4bfd-8a0f-377c99f09125"]
interface SelectFile { interface SelectFile {
// Selects one or more files. If the dialog is closed or canceled without // Selects one or more files. If the dialog is closed or canceled without
// selecting a file, or if there is an error, |files| will be empty. // selecting a file, or if there is an error, |files| will be empty.
......
...@@ -345,7 +345,7 @@ struct HidDeviceInfo { ...@@ -345,7 +345,7 @@ struct HidDeviceInfo {
// A client interface for receiving a notification when HID devices are // A client interface for receiving a notification when HID devices are
// physically connected or disconnected. // physically connected or disconnected.
[Stable] [Stable, Uuid="1b9b8008-dcf3-4c2e-9d68-ca3c47778817"]
interface HidManagerClient { interface HidManagerClient {
// Notifies the client that a device is added. // Notifies the client that a device is added.
DeviceAdded@0(HidDeviceInfo device_info); DeviceAdded@0(HidDeviceInfo device_info);
...@@ -358,7 +358,7 @@ interface HidManagerClient { ...@@ -358,7 +358,7 @@ interface HidManagerClient {
// Provides an interface for enumerating available HID devices, registering for // Provides an interface for enumerating available HID devices, registering for
// device connection and disconnection notifications, and opening a connection // device connection and disconnection notifications, and opening a connection
// for reading from and writing to a HID device. // for reading from and writing to a HID device.
[Stable] [Stable, Uuid="9e931765-42c9-4afd-9dc5-9086621b7bb6"]
interface HidManager { interface HidManager {
// Enumerates available devices and set as a client of HidManager. // Enumerates available devices and set as a client of HidManager.
// The implementation of HidManager guarantees that the returned callback // The implementation of HidManager guarantees that the returned callback
...@@ -392,7 +392,7 @@ interface HidManager { ...@@ -392,7 +392,7 @@ interface HidManager {
// allows a device to define its own packet formats (reports) for sending or // allows a device to define its own packet formats (reports) for sending or
// receiving data. The methods in HidConnection send or receive data and specify // receiving data. The methods in HidConnection send or receive data and specify
// which report is used. // which report is used.
[Stable] [Stable, Uuid="1b9b8008-dcf3-4c2e-9d68-ca3c47778817"]
interface HidConnection { interface HidConnection {
// A |report_id| of 0 is returned via callback if report IDs are not // A |report_id| of 0 is returned via callback if report IDs are not
// supported by the device. // supported by the device.
...@@ -412,7 +412,7 @@ interface HidConnection { ...@@ -412,7 +412,7 @@ interface HidConnection {
// A client interface for receiving a notification when input reports are // A client interface for receiving a notification when input reports are
// received. // received.
[Stable] [Stable, Uuid="11f949ed-fa57-4a94-a433-90b72a2d2b63"]
interface HidConnectionClient { interface HidConnectionClient {
// Notifies the client that an input report was received. A |report_id| of 0 // Notifies the client that an input report was received. A |report_id| of 0
// is passed if report IDs are not used by the device. // is passed if report IDs are not used by the device.
...@@ -429,6 +429,6 @@ interface HidConnectionClient { ...@@ -429,6 +429,6 @@ interface HidConnectionClient {
// itself as a watcher so it can be notified when the connection is closed. This // itself as a watcher so it can be notified when the connection is closed. This
// allows the service to keep track of whether there are open connections for // allows the service to keep track of whether there are open connections for
// the purpose of drawing an indicator icon when a tab is using a HID device. // the purpose of drawing an indicator icon when a tab is using a HID device.
[Stable] [Stable, Uuid="8af071b5-0994-4af7-9c3f-6025d7f9e9d0"]
interface HidConnectionWatcher { interface HidConnectionWatcher {
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment