Index: components/arc/common/policy.mojom |
diff --git a/components/arc/common/video.mojom b/components/arc/common/policy.mojom |
similarity index 53% |
copy from components/arc/common/video.mojom |
copy to components/arc/common/policy.mojom |
index b21a1dbc4a62a3951bcf45f2441c67f1adde745b..ff7b42b8646991f29cc381fe2f9eb4382e6e479f 100644 |
--- a/components/arc/common/video.mojom |
+++ b/components/arc/common/policy.mojom |
@@ -4,12 +4,15 @@ |
module arc; |
-interface VideoHost { |
- // Notifies Chrome a request for ipc channel of video acceleration. |
- OnRequestArcVideoAcceleratorChannel() => (handle channel_handle); |
+interface PolicyHost { |
+ // Get policies from Chrome OS. |
Luis Héctor Chávez
2016/03/15 18:01:56
You are currently returning a single JSON-encoded
phweiss
2016/03/16 18:45:12
The "Policy" in GetPolicy and PolicyHost refers to
phweiss
2016/03/17 15:52:59
I reconsidered this, and renamed the function now
|
+ GetPolicy() => (string policy); |
}; |
-interface VideoInstance { |
+interface PolicyInstance { |
// Establishes full-duplex communication with the host. |
- Init(VideoHost host_ptr); |
+ Init(PolicyHost host_ptr); |
+ |
+ // Indicates policy has changed |
+ OnPolicyChanged(); |
phweiss
2016/03/17 15:52:59
This function is now renamed to OnPolicyUpdated fo
|
}; |