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 module arc; |
| 6 |
| 7 interface PolicyHost { |
| 8 // Get policies from Chrome OS, as JSON-encoded dictionary with the policies' |
| 9 // names as keys and their values as values. The list of possible policies can |
| 10 // be found in components/policy/resources/policy_templates.json |
| 11 GetPolicies@0() => (string policies); |
| 12 }; |
| 13 |
| 14 interface PolicyInstance { |
| 15 // Establishes full-duplex communication with the host. |
| 16 Init@0(PolicyHost host_ptr); |
| 17 |
| 18 // Indicates some policies have changed |
| 19 OnPolicyUpdated@1(); |
| 20 }; |
OLD | NEW |