| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module catalog.mojom; | |
| 6 | |
| 7 // Resolves various things to Mojo names that can be passed to mojo::Shell's | |
| 8 // ConnectToApplication(). | |
| 9 interface Resolver { | |
| 10 // Returns the mojo: name of the service that exports to the caller every | |
| 11 // interface in |interfaces|. | |
| 12 ResolveInterfaces(array<string> interfaces) => (string resolved_mojo_name); | |
| 13 | |
| 14 // Returns the mojo: name of the service that will handle content of type | |
| 15 // |mime_type|. | |
| 16 ResolveMIMEType(string mime_type) => (string resolved_mojo_name); | |
| 17 | |
| 18 // Called to return | |
| 19 ResolveProtocolScheme(string protocol_scheme) => (string resolved_mojo_name); | |
| 20 }; | |
| OLD | NEW |