Chromium Code Reviews| 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() => (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.
| |
| 12 }; | |
| 13 | |
| 14 interface PolicyInstance { | |
| 15 // Establishes full-duplex communication with the host. | |
| 16 Init(PolicyHost host_ptr); | |
| 17 | |
| 18 // Indicates some policies have changed | |
| 19 OnPolicyUpdated(); | |
| 20 }; | |
| OLD | NEW |