blob: e56f0f949aa24f508bb8a6638dde44247eadce92 [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module crosapi.mojom;
// Interface that allows clients to receive the notification from the Kiosk
// session. Implemented by lacros-chrome.
//
// Next MinVersion: 2
// Next ID: 2
[Stable, Uuid="6dc6b5a0-b5db-4507-b0f9-688e1773226d"]
interface KioskSessionService {
// Starts a user initiated exit process. This method tells session manager
// that chrome is signing out, which lets session manager send SIGTERM
// to start actual exit process.
AttemptUserExit@0();
// Triggers a device restart initiated by extension runtime API
[MinVersion=1]
RestartDevice@1(string description) => (bool status);
};