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

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

Issue 1754803003: Implement Stub for policy bridge to ARC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renaming to GetPolicies and OnPolicyUpdated Created 4 years, 9 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
« components/arc/common/auth.mojom ('K') | « components/arc/common/auth.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/policy.mojom
diff --git a/components/arc/common/policy.mojom b/components/arc/common/policy.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f565055e00562436110f5c7bace4fa960a685b7d
--- /dev/null
+++ b/components/arc/common/policy.mojom
@@ -0,0 +1,20 @@
+// 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.
+
+module arc;
+
+interface PolicyHost {
+ // Get policies from Chrome OS, as JSON-encoded dictionary with the policies'
+ // names as keys and their values as values. The list of possible policies can
+ // be found in components/policy/resources/policy_templates.json
+ GetPolicies() => (string policies);
Luis Héctor Chávez 2016/03/17 15:57:49 nit: Add method ordinal (@number after method name
phweiss 2016/03/17 16:07:40 Done.
+};
+
+interface PolicyInstance {
+ // Establishes full-duplex communication with the host.
+ Init(PolicyHost host_ptr);
+
+ // Indicates some policies have changed
+ OnPolicyUpdated();
+};
« components/arc/common/auth.mojom ('K') | « components/arc/common/auth.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698