| OLD | NEW |
| 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 CrOs. |
| 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(); |
| 15 }; | 18 }; |
| OLD | NEW |