summaryrefslogtreecommitdiff
path: root/chromium/components/arc/common/kiosk.mojom
blob: f2903b380e889005fc7088bfe4937a58de7906d0 (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
// 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: 1

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: 1
interface KioskInstance {
  // Establishes full-duplex communication with the host.
  // |host_ptr| is the MessagePipe endpoint that is bound to the
  // KioskHost binding.
  Init@0(KioskHost host_ptr);
};