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 catalog.mojom; | 5 module catalog.mojom; |
6 | 6 |
7 struct CatalogEntry { | 7 struct CatalogEntry { |
8 string display_name; | 8 string display_name; |
9 }; | 9 }; |
10 | 10 |
11 interface Catalog { | 11 interface Catalog { |
12 GetEntries(array<string> urls) => (map<string, CatalogEntry> entries); | 12 // If |names| is null, all available entries are returned. |
| 13 GetEntries(array<string>? names) => (map<string, CatalogEntry> entries); |
13 }; | 14 }; |
OLD | NEW |