| // Copyright 2020 The Chromium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| module foo.mojom; | |
| // Information needed to show one item in dummy module. | |
| struct FooDataItem { | |
| string label; | |
| string value; | |
| string imageUrl; | |
| }; | |
| // Browser-side handler for requests from JS. | |
| interface FooHandler { | |
| // Returns the data for items in dummy module. | |
| GetData() => (array<FooDataItem> data); | |
| }; |