Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: components/arc/common/policy.mojom

Issue 1754803003: Implement Stub for policy bridge to ARC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove functionality for OnPolicyChanged due to dependency issues Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..ad393af8b7474dab6035b3d2b3adbd55a6ea211d 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 CrOs.
Thiemo Nagel 2016/03/15 16:49:23 CrOs --> Chrome OS
phweiss 2016/03/15 17:38:23 Done.
+ 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();
};

Powered by Google App Engine
This is Rietveld 408576698