| // Copyright 2016 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| module sample; | |
| enum EnumeratedValue { | |
| VALUE1, VALUE2, VALUE3, | |
| }; | |
| struct StructuredData { | |
| EnumeratedValue data1; | |
| int32 data2; | |
| }; | |
| interface Interface { | |
| SomeMethod(); | |
| }; | |
| union AlternativeOptions { | |
| int32 integer_option; | |
| float floating_point_option; | |
| }; | |
| const int32 DOES_NOT_CHANGE = 42; |