| 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 "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "services/catalog/public/interfaces/catalog.mojom.h" | 14 #include "services/catalog/public/interfaces/catalog.mojom.h" |
| 15 #include "services/service_manager/public/cpp/interface_provider_spec.h" | 15 #include "services/service_manager/public/cpp/interface_provider_spec.h" |
| 16 #include "services/service_manager/public/interfaces/resolver.mojom.h" | 16 #include "services/service_manager/public/interfaces/resolver.mojom.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class DictionaryValue; |
| 19 class Value; | 20 class Value; |
| 20 } | 21 } |
| 21 | 22 |
| 22 namespace catalog { | 23 namespace catalog { |
| 23 | 24 |
| 24 // Static information about a service package known to the Catalog. | 25 // Static information about a service package known to the Catalog. |
| 25 class Entry { | 26 class Entry { |
| 26 public: | 27 public: |
| 27 Entry(); | 28 Entry(); |
| 28 explicit Entry(const std::string& name); | 29 explicit Entry(const std::string& name); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 template<> | 91 template<> |
| 91 struct TypeConverter<catalog::mojom::EntryPtr, catalog::Entry> { | 92 struct TypeConverter<catalog::mojom::EntryPtr, catalog::Entry> { |
| 92 static catalog::mojom::EntryPtr Convert(const catalog::Entry& input); | 93 static catalog::mojom::EntryPtr Convert(const catalog::Entry& input); |
| 93 }; | 94 }; |
| 94 | 95 |
| 95 } // namespace mojo | 96 } // namespace mojo |
| 96 | 97 |
| 97 #endif // SERVICES_CATALOG_ENTRY_H_ | 98 #endif // SERVICES_CATALOG_ENTRY_H_ |
| OLD | NEW |