| 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 gpu.mojom; | 5 module gpu.mojom; |
| 6 | 6 |
| 7 import "gpu/ipc/common/mailbox.mojom"; | 7 import "gpu/ipc/common/mailbox.mojom"; |
| 8 import "gpu/ipc/common/mailbox_holder.mojom"; | 8 import "gpu/ipc/common/mailbox_holder.mojom"; |
| 9 import "gpu/ipc/common/sync_token.mojom"; | 9 import "gpu/ipc/common/sync_token.mojom"; |
| 10 | 10 |
| 11 // All functions on this interface echo their arguments to test StructTraits |
| 12 // serialization and deserialization. |
| 11 interface TraitsTestService { | 13 interface TraitsTestService { |
| 14 [Sync] |
| 12 EchoMailbox(Mailbox m) => (Mailbox pass); | 15 EchoMailbox(Mailbox m) => (Mailbox pass); |
| 16 |
| 17 [Sync] |
| 13 EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass); | 18 EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass); |
| 19 |
| 20 [Sync] |
| 14 EchoSyncToken(SyncToken s) => (SyncToken pass); | 21 EchoSyncToken(SyncToken s) => (SyncToken pass); |
| 15 }; | 22 }; |
| OLD | NEW |