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

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

Issue 2133833002: gpu::GPUInfo::GPUDevice struct traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed according to comments Created 4 years, 5 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 gpu.mojom; 5 module gpu.mojom;
6 6
7 import "gpu/ipc/common/gpu_info.mojom";
7 import "gpu/ipc/common/mailbox.mojom"; 8 import "gpu/ipc/common/mailbox.mojom";
8 import "gpu/ipc/common/mailbox_holder.mojom"; 9 import "gpu/ipc/common/mailbox_holder.mojom";
9 import "gpu/ipc/common/sync_token.mojom"; 10 import "gpu/ipc/common/sync_token.mojom";
10 11
11 // All functions on this interface echo their arguments to test StructTraits 12 // All functions on this interface echo their arguments to test StructTraits
12 // serialization and deserialization. 13 // serialization and deserialization.
13 interface TraitsTestService { 14 interface TraitsTestService {
15
16 [Sync]
17 EchoGpuDevice(GpuDevice g) => (GpuDevice pass);
18
14 [Sync] 19 [Sync]
15 EchoMailbox(Mailbox m) => (Mailbox pass); 20 EchoMailbox(Mailbox m) => (Mailbox pass);
16 21
17 [Sync] 22 [Sync]
18 EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass); 23 EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass);
19 24
20 [Sync] 25 [Sync]
21 EchoSyncToken(SyncToken s) => (SyncToken pass); 26 EchoSyncToken(SyncToken s) => (SyncToken pass);
22 }; 27 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698