| 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..d304d3f69507e0ba35b1239bed21cefe6d80050e
|
| --- /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
|
| + GetPolicy() => (string policy);
|
| +};
|
| +
|
| +interface PolicyInstance {
|
| + // Establishes full-duplex communication with the host.
|
| + Init(PolicyHost host_ptr);
|
| +
|
| + // Indicates policy has changed
|
| + OnPolicyChanged();
|
| +};
|
|
|