| 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 GetPolicy() => (string policy); |
| 12 }; |
| 13 |
| 14 interface PolicyInstance { |
| 15 // Establishes full-duplex communication with the host. |
| 16 Init(PolicyHost host_ptr); |
| 17 |
| 18 // Indicates policy has changed |
| 19 OnPolicyChanged(); |
| 20 }; |
| OLD | NEW |