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

Unified Diff: components/arc/common/enterprise_reporting.mojom

Issue 2312873002: Change Chrome OS status reporting interface to ARC++ (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: components/arc/common/enterprise_reporting.mojom
diff --git a/components/arc/common/enterprise_reporting.mojom b/components/arc/common/enterprise_reporting.mojom
index ff1e23833aebf4b770ccb5fbe923d430822733c3..cecb4284e631a8d35a56d0b1d4ba98505078b361 100644
--- a/components/arc/common/enterprise_reporting.mojom
+++ b/components/arc/common/enterprise_reporting.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Next MinVersion: 1
+// Next MinVersion: 2
module arc.mojom;
// Enumerates the states that management can be in for a user.
@@ -19,14 +19,21 @@ enum ManagementState {
MANAGED_DO_LOST = 2
};
-// Next method ID: 1
+// Next method ID: 2
interface EnterpriseReportingHost {
// Reports the management status for the user.
ReportManagementState@0(ManagementState state);
+
+ // Passes a JSON status blob to the host.
+ [MinVersion=1] OnStatusRetrieved@1(string status, string droidGuardInfo);
Luis Héctor Chávez 2016/09/06 16:09:54 Is this supposed to be the asynchronous response t
};
-// Next method ID: 1
+// Next method ID: 2
interface EnterpriseReportingInstance {
// Establishes full-duplex communication with the host.
Init@0(EnterpriseReportingHost host_ptr);
+
+ // Requests that a JSON status blob be generated and passed to the
+ // host.
+ [MinVersion=1] GetStatus@1();
};

Powered by Google App Engine
This is Rietveld 408576698