| 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 import "mojo/common/common_custom_types.mojom"; | 7 import "mojo/common/file_path.mojom"; |
| 8 | 8 |
| 9 struct Entry { | 9 struct Entry { |
| 10 string name; | 10 string name; |
| 11 string display_name; | 11 string display_name; |
| 12 }; | 12 }; |
| 13 | 13 |
| 14 interface Catalog { | 14 interface Catalog { |
| 15 // Returns the catalog entries for the specified mojo names. | 15 // Returns the catalog entries for the specified mojo names. |
| 16 // If |names| is null, all available entries are returned. | 16 // If |names| is null, all available entries are returned. |
| 17 [Sync] | 17 [Sync] |
| (...skipping 11 matching lines...) Expand all Loading... |
| 29 // specified scheme. | 29 // specified scheme. |
| 30 GetEntriesSupportingScheme(string protocol_scheme) => (array<Entry> entries); | 30 GetEntriesSupportingScheme(string protocol_scheme) => (array<Entry> entries); |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 // A control interface which may be exposed to privileged services. | 33 // A control interface which may be exposed to privileged services. |
| 34 interface CatalogControl { | 34 interface CatalogControl { |
| 35 // Overrides the manifest path for a specific service named |name|. | 35 // Overrides the manifest path for a specific service named |name|. |
| 36 [Sync] | 36 [Sync] |
| 37 OverrideManifestPath(string name, mojo.common.mojom.FilePath path) => (); | 37 OverrideManifestPath(string name, mojo.common.mojom.FilePath path) => (); |
| 38 }; | 38 }; |
| OLD | NEW |