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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module arc; 5 module arc;
6 6
7 interface VideoHost { 7 interface PolicyHost {
8 // Notifies Chrome a request for ipc channel of video acceleration. 8 // 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
9 OnRequestArcVideoAcceleratorChannel() => (handle channel_handle); 9 GetPolicy() => (string policy);
10 }; 10 };
11 11
12 interface VideoInstance { 12 interface PolicyInstance {
13 // Establishes full-duplex communication with the host. 13 // Establishes full-duplex communication with the host.
14 Init(VideoHost host_ptr); 14 Init(PolicyHost host_ptr);
15
16 // Indicates policy has changed
17 OnPolicyChanged();
phweiss 2016/03/17 15:52:59 This function is now renamed to OnPolicyUpdated fo
15 }; 18 };
OLDNEW
« 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