Index: components/arc/common/video_accelerator.mojom |
diff --git a/components/arc/common/video_accelerator.mojom b/components/arc/common/video_accelerator.mojom |
index 229d766dde2eb76a5127b5f195330a116fe074d3..793609754ea908d02625c726d26e5aa9e5795d74 100644 |
--- a/components/arc/common/video_accelerator.mojom |
+++ b/components/arc/common/video_accelerator.mojom |
@@ -50,7 +50,16 @@ struct ArcVideoAcceleratorConfig { |
}; |
interface VideoAcceleratorService { |
- Initialize@0(ArcVideoAcceleratorConfig config) => (bool result); |
+ enum Error { |
+ NO_ERROR = 0, |
+ ILLEGAL_STATE = 1, |
+ INVALID_ARGUMENT = 2, |
+ UNREADABLE_INPUT = 3, |
+ PLATFORM_FAILURE = 4, |
+ INSUFFICIENT_RESOURCES = 5, |
+ }; |
+ |
+ Initialize@0(ArcVideoAcceleratorConfig config) => (bool result, [MinVersion=1] Error error); |
owenlin_google
2016/06/03 02:26:54
line too long?
kcwu
2016/06/03 13:14:15
Done.
|
BindSharedMemory@1(PortType port, uint32 index, handle ashmem_fd, |
uint32 offset, uint32 length); |
@@ -67,17 +76,9 @@ interface VideoAcceleratorService { |
}; |
interface VideoAcceleratorServiceClient { |
- enum Error { |
- NO_ERROR = 0, |
- ILLEGAL_STATE = 1, |
- INVALID_ARGUMENT = 2, |
- UNREADABLE_INPUT = 3, |
- PLATFORM_FAILURE = 4, |
- }; |
- |
Init@0(VideoAcceleratorService service_ptr); |
- OnError@1(Error error); |
+ OnError@1(VideoAcceleratorService.Error error); |
OnBufferDone@2(PortType port, uint32 index, BufferMetadata metadata); |