OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // Next MinVersion: 1 |
| 6 module arc.mojom; |
| 7 |
| 8 // Enumerates the states that management can be in for a user. |
| 9 [Extensible] |
| 10 enum ManagementState { |
| 11 // The user is not managed. |
| 12 UNMANAGED = 0, |
| 13 |
| 14 // The user is managed and the management infrastructure is working correctly. |
| 15 MANAGED_OK = 1, |
| 16 |
| 17 // The user is managed but managing app lost its Device Owner status and |
| 18 // cannot set policies. |
| 19 MANAGED_DO_LOST = 2 |
| 20 }; |
| 21 |
| 22 // Next method ID: 1 |
| 23 interface EnterpriseReportingHost { |
| 24 // Reports the management status for the user. |
| 25 ReportManagementState@0(ManagementState state); |
| 26 }; |
| 27 |
| 28 // Next method ID: 1 |
| 29 interface EnterpriseReportingInstance { |
| 30 // Establishes full-duplex communication with the host. |
| 31 Init@0(EnterpriseReportingHost host_ptr); |
| 32 }; |
OLD | NEW |