| Index: components/arc/common/enterprise_reporting.mojom
|
| diff --git a/components/arc/common/enterprise_reporting.mojom b/components/arc/common/enterprise_reporting.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ff1e23833aebf4b770ccb5fbe923d430822733c3
|
| --- /dev/null
|
| +++ b/components/arc/common/enterprise_reporting.mojom
|
| @@ -0,0 +1,32 @@
|
| +// 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;
|
| +
|
| +// Enumerates the states that management can be in for a user.
|
| +[Extensible]
|
| +enum ManagementState {
|
| + // The user is not managed.
|
| + UNMANAGED = 0,
|
| +
|
| + // The user is managed and the management infrastructure is working correctly.
|
| + MANAGED_OK = 1,
|
| +
|
| + // The user is managed but managing app lost its Device Owner status and
|
| + // cannot set policies.
|
| + MANAGED_DO_LOST = 2
|
| +};
|
| +
|
| +// Next method ID: 1
|
| +interface EnterpriseReportingHost {
|
| + // Reports the management status for the user.
|
| + ReportManagementState@0(ManagementState state);
|
| +};
|
| +
|
| +// Next method ID: 1
|
| +interface EnterpriseReportingInstance {
|
| + // Establishes full-duplex communication with the host.
|
| + Init@0(EnterpriseReportingHost host_ptr);
|
| +};
|
|
|