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

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: Includes, Comments, and Formatting adjusted 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
« components/arc/common/auth.mojom ('K') | « components/arc/common/auth.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
};
« components/arc/common/auth.mojom ('K') | « components/arc/common/auth.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698