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

Side by Side Diff: mojo/services/catalog/entry.h

Issue 1779683002: Add catalog unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@43catalog
Patch Set: . Created 4 years, 9 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
« no previous file with comments | « mojo/services/catalog/data/simple ('k') | mojo/services/catalog/entry.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 #ifndef MOJO_SERVICES_CATALOG_ENTRY_H_
6 #define MOJO_SERVICES_CATALOG_ENTRY_H_
7
8 #include <map>
9 #include <set>
10 #include <string>
11
12 namespace catalog {
13
14 // A set of names of interfaces that may be exposed to an application.
15 using AllowedInterfaces = std::set<std::string>;
16 // A map of allowed applications to allowed interface sets. See shell.mojom for
17 // more details.
18 using CapabilityFilter = std::map<std::string, AllowedInterfaces>;
19
20 // Static information about an application package known to the Catalog.
21 struct Entry {
22 Entry();
23 Entry(const Entry& other);
24 ~Entry();
25
26 std::string name;
27 std::string qualifier;
28 std::string display_name;
29 CapabilityFilter capabilities;
30 };
31
32 } // namespace catalog
33
34 #endif // MOJO_SERVICES_CATALOG_ENTRY_H_
OLDNEW
« no previous file with comments | « mojo/services/catalog/data/simple ('k') | mojo/services/catalog/entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698