Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: services/catalog/public/interfaces/catalog.mojom

Issue 2096293002: Eliminate usage of InterfacePtr::WaitForIncomingResponse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybots failure Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 Entry { 7 struct Entry {
8 string name; 8 string name;
9 string display_name; 9 string display_name;
10 }; 10 };
11 11
12 interface Catalog { 12 interface Catalog {
13 // Returns the catalog entries for the specified mojo names. 13 // Returns the catalog entries for the specified mojo names.
14 // If |names| is null, all available entries are returned. 14 // If |names| is null, all available entries are returned.
15 [Sync]
15 GetEntries(array<string>? names) => (array<Entry> entries); 16 GetEntries(array<string>? names) => (array<Entry> entries);
16 17
17 // Returns the entry(ies) for applications that export to the caller the 18 // Returns the entry(ies) for applications that export to the caller the
18 // specified class. 19 // specified class.
19 GetEntriesProvidingClass(string clazz) => (array<Entry> entries); 20 GetEntriesProvidingClass(string clazz) => (array<Entry> entries);
20 21
21 // Returns the entry(ies) for applications that can consume content of the 22 // Returns the entry(ies) for applications that can consume content of the
22 // specified MIME type. 23 // specified MIME type.
23 GetEntriesConsumingMIMEType(string mime_type) => (array<Entry> entries); 24 GetEntriesConsumingMIMEType(string mime_type) => (array<Entry> entries);
24 25
25 // Returns the entry(ies) for applications that can handle links with the 26 // Returns the entry(ies) for applications that can handle links with the
26 // specified scheme. 27 // specified scheme.
27 GetEntriesSupportingScheme(string protocol_scheme) => (array<Entry> entries); 28 GetEntriesSupportingScheme(string protocol_scheme) => (array<Entry> entries);
28 }; 29 };
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_factory_mojo_unittest.cc ('k') | services/ui/public/cpp/lib/command_buffer_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698