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 #ifndef SERVICES_CATALOG_ENTRY_H_ | 5 #ifndef SERVICES_CATALOG_ENTRY_H_ |
6 #define SERVICES_CATALOG_ENTRY_H_ | 6 #define SERVICES_CATALOG_ENTRY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "services/catalog/public/interfaces/catalog.mojom.h" | 13 #include "services/catalog/public/interfaces/catalog.mojom.h" |
14 #include "services/shell/public/cpp/capabilities.h" | 14 #include "services/service_manager/public/cpp/capabilities.h" |
15 #include "services/shell/public/interfaces/resolver.mojom.h" | 15 #include "services/service_manager/public/interfaces/resolver.mojom.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class DictionaryValue; | 18 class DictionaryValue; |
19 } | 19 } |
20 | 20 |
21 namespace catalog { | 21 namespace catalog { |
22 | 22 |
23 // Static information about a service package known to the Catalog. | 23 // Static information about a service package known to the Catalog. |
24 class Entry { | 24 class Entry { |
25 public: | 25 public: |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 }; | 79 }; |
80 | 80 |
81 template<> | 81 template<> |
82 struct TypeConverter<catalog::mojom::EntryPtr, catalog::Entry> { | 82 struct TypeConverter<catalog::mojom::EntryPtr, catalog::Entry> { |
83 static catalog::mojom::EntryPtr Convert(const catalog::Entry& input); | 83 static catalog::mojom::EntryPtr Convert(const catalog::Entry& input); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace mojo | 86 } // namespace mojo |
87 | 87 |
88 #endif // SERVICES_CATALOG_ENTRY_H_ | 88 #endif // SERVICES_CATALOG_ENTRY_H_ |
OLD | NEW |