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

Side by Side Diff: gpu/ipc/common/traits_test_service.mojom

Issue 2220093002: GpuInfo mojom struct and struct traits and unit test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a typo Created 4 years, 4 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
« no previous file with comments | « gpu/ipc/common/struct_traits_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 gpu.mojom; 5 module gpu.mojom;
6 6
7 import "gpu/ipc/common/dx_diag_node.mojom"; 7 import "gpu/ipc/common/dx_diag_node.mojom";
8 import "gpu/ipc/common/gpu_info.mojom"; 8 import "gpu/ipc/common/gpu_info.mojom";
9 import "gpu/ipc/common/mailbox.mojom"; 9 import "gpu/ipc/common/mailbox.mojom";
10 import "gpu/ipc/common/mailbox_holder.mojom"; 10 import "gpu/ipc/common/mailbox_holder.mojom";
11 import "gpu/ipc/common/sync_token.mojom"; 11 import "gpu/ipc/common/sync_token.mojom";
12 12
13 // All functions on this interface echo their arguments to test StructTraits 13 // All functions on this interface echo their arguments to test StructTraits
14 // serialization and deserialization. 14 // serialization and deserialization.
15 interface TraitsTestService { 15 interface TraitsTestService {
16 16
17 [Sync] 17 [Sync]
18 EchoDxDiagNode(DxDiagNode d) => (DxDiagNode pass); 18 EchoDxDiagNode(DxDiagNode d) => (DxDiagNode pass);
19 19
20 [Sync] 20 [Sync]
21 EchoGpuDevice(GpuDevice g) => (GpuDevice pass); 21 EchoGpuDevice(GpuDevice g) => (GpuDevice pass);
22 22
23 [Sync] 23 [Sync]
24 EchoGpuInfo(GpuInfo g) => (GpuInfo pass);
25
26 [Sync]
24 EchoMailbox(Mailbox m) => (Mailbox pass); 27 EchoMailbox(Mailbox m) => (Mailbox pass);
25 28
26 [Sync] 29 [Sync]
27 EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass); 30 EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass);
28 31
29 [Sync] 32 [Sync]
30 EchoSyncToken(SyncToken s) => (SyncToken pass); 33 EchoSyncToken(SyncToken s) => (SyncToken pass);
31 34
32 [Sync] 35 [Sync]
33 EchoVideoDecodeAcceleratorSupportedProfile( 36 EchoVideoDecodeAcceleratorSupportedProfile(
34 VideoDecodeAcceleratorSupportedProfile v) => 37 VideoDecodeAcceleratorSupportedProfile v) =>
35 (VideoDecodeAcceleratorSupportedProfile pass); 38 (VideoDecodeAcceleratorSupportedProfile pass);
36 39
37 [Sync] 40 [Sync]
38 EchoVideoDecodeAcceleratorCapabilities( 41 EchoVideoDecodeAcceleratorCapabilities(
39 VideoDecodeAcceleratorCapabilities v) => 42 VideoDecodeAcceleratorCapabilities v) =>
40 (VideoDecodeAcceleratorCapabilities pass); 43 (VideoDecodeAcceleratorCapabilities pass);
41 44
42 [Sync] 45 [Sync]
43 EchoVideoEncodeAcceleratorSupportedProfile( 46 EchoVideoEncodeAcceleratorSupportedProfile(
44 VideoEncodeAcceleratorSupportedProfile v) => 47 VideoEncodeAcceleratorSupportedProfile v) =>
45 (VideoEncodeAcceleratorSupportedProfile pass); 48 (VideoEncodeAcceleratorSupportedProfile pass);
46 }; 49 };
OLDNEW
« no previous file with comments | « gpu/ipc/common/struct_traits_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698