OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 enum FoodEnum { |
| 6 "Bread", |
| 7 "Spaghetti", |
| 8 "Sushi" |
| 9 }; |
| 10 |
| 11 interface SequenceTest { |
| 12 // The identity functions just return what they have received in |arg|, to |
| 13 // test converting both to and from V8. |
| 14 sequence<sequence<ByteString>> identityByteStringSequenceSequence(sequence<s
equence<ByteString>> arg); |
| 15 sequence<double> identityDoubleSequence(sequence<double> arg); |
| 16 sequence<FoodEnum> identityFoodEnumSequence(sequence<FoodEnum> arg); |
| 17 sequence<long> identityLongSequence(sequence<long> arg); |
| 18 sequence<octet>? identityOctetSequenceOrNull(sequence<octet>? arg); |
| 19 |
| 20 sequence<Element> getElementSequence(); |
| 21 void setElementSequence(sequence<Element> arg); |
| 22 |
| 23 bool unionReceivedSequence((double or sequence<double>) arg); |
| 24 }; |
OLD | NEW |