Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: components/arc/common/enterprise_reporting.mojom

Issue 2312873002: Change Chrome OS status reporting interface to ARC++ (Closed)
Patch Set: Make call synchronous, one function removed Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Next MinVersion: 1 5 // Next MinVersion: 2
6 module arc.mojom; 6 module arc.mojom;
7 7
8 // Enumerates the states that management can be in for a user. 8 // Enumerates the states that management can be in for a user.
9 [Extensible] 9 [Extensible]
10 enum ManagementState { 10 enum ManagementState {
11 // The user is not managed. 11 // The user is not managed.
12 UNMANAGED = 0, 12 UNMANAGED = 0,
13 13
14 // The user is managed and the management infrastructure is working correctly. 14 // The user is managed and the management infrastructure is working correctly.
15 MANAGED_OK = 1, 15 MANAGED_OK = 1,
16 16
17 // The user is managed but managing app lost its Device Owner status and 17 // The user is managed but managing app lost its Device Owner status and
18 // cannot set policies. 18 // cannot set policies.
19 MANAGED_DO_LOST = 2 19 MANAGED_DO_LOST = 2
20 }; 20 };
21 21
22 // Next method ID: 1 22 // Next method ID: 1
23 interface EnterpriseReportingHost { 23 interface EnterpriseReportingHost {
24 // Reports the management status for the user. 24 // Reports the management status for the user.
25 ReportManagementState@0(ManagementState state); 25 ReportManagementState@0(ManagementState state);
26 }; 26 };
27 27
28 // Next method ID: 1 28 // Next method ID: 2
29 interface EnterpriseReportingInstance { 29 interface EnterpriseReportingInstance {
30 // Establishes full-duplex communication with the host. 30 // Establishes full-duplex communication with the host.
31 Init@0(EnterpriseReportingHost host_ptr); 31 Init@0(EnterpriseReportingHost host_ptr);
32
33 // Requests that a JSON status blob be generated and passed to the
34 // host.
35 [MinVersion=1] GetStatus@1() => (string status, string droidGuardInfo);
hidehiko 2016/09/08 16:31:22 Drive-by. snake_case please, for param names.
phweiss 2016/09/08 16:52:02 Thanks for the catch. Had it already fixed once, b
32 }; 36 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698