summaryrefslogtreecommitdiff
path: root/chromium/components/arc/mojom/kiosk.mojom
blob: 39beb508f79e63ff2f146df18cda3e1a52aad3dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2016 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.
//
// Next MinVersion: 2

module arc.mojom;

// Next method ID: 2
interface KioskHost {
  // Notifies Chrome that a new maintenance session for kiosk has been
  // created.
  // Chrome should start the maintenance window when it is called.
  OnMaintenanceSessionCreated@0(int32 session_id);

  // Notifies Chrome that the maintenance session for kiosk has been
  // finished.
  // Chrome should start the kiosk app again when it is called no matter
  // if the session ends with success or not.
  OnMaintenanceSessionFinished@1(int32 session_id, bool succeeded);
};

// Next method ID: 2
interface KioskInstance {
  // DEPRECATED: Please use Init@1 instead.
  InitDeprecated@0(KioskHost host_ptr);

  // Establishes full-duplex communication with the host.
  [MinVersion=1] Init@1(KioskHost host_ptr) => ();
};