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 MOJO_SERVICES_CATALOG_CATALOG_H_ | 5 #ifndef MOJO_SERVICES_CATALOG_CATALOG_H_ |
6 #define MOJO_SERVICES_CATALOG_CATALOG_H_ | 6 #define MOJO_SERVICES_CATALOG_CATALOG_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "mojo/public/cpp/bindings/binding_set.h" | 12 #include "mojo/public/cpp/bindings/binding_set.h" |
13 #include "mojo/services/catalog/entry.h" | 13 #include "mojo/services/catalog/entry.h" |
14 #include "mojo/services/catalog/public/interfaces/catalog.mojom.h" | 14 #include "mojo/services/catalog/public/interfaces/catalog.mojom.h" |
15 #include "mojo/services/catalog/public/interfaces/resolver.mojom.h" | 15 #include "mojo/services/catalog/public/interfaces/resolver.mojom.h" |
16 #include "mojo/services/catalog/store.h" | 16 #include "mojo/services/catalog/store.h" |
17 #include "mojo/services/catalog/types.h" | 17 #include "mojo/services/catalog/types.h" |
18 #include "mojo/shell/public/cpp/interface_factory.h" | 18 #include "services/shell/public/cpp/interface_factory.h" |
19 #include "mojo/shell/public/interfaces/shell_resolver.mojom.h" | 19 #include "services/shell/public/interfaces/shell_resolver.mojom.h" |
20 | 20 |
21 namespace catalog { | 21 namespace catalog { |
22 | 22 |
23 class ManifestProvider; | 23 class ManifestProvider; |
24 class Store; | 24 class Store; |
25 | 25 |
26 struct ReadManifestResult { | 26 struct ReadManifestResult { |
27 ReadManifestResult(); | 27 ReadManifestResult(); |
28 ~ReadManifestResult(); | 28 ~ReadManifestResult(); |
29 mojo::shell::mojom::ResolveResultPtr resolve_result; | 29 mojo::shell::mojom::ResolveResultPtr resolve_result; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 EntryCache* system_catalog_; | 106 EntryCache* system_catalog_; |
107 | 107 |
108 base::WeakPtrFactory<Catalog> weak_factory_; | 108 base::WeakPtrFactory<Catalog> weak_factory_; |
109 | 109 |
110 DISALLOW_COPY_AND_ASSIGN(Catalog); | 110 DISALLOW_COPY_AND_ASSIGN(Catalog); |
111 }; | 111 }; |
112 | 112 |
113 } // namespace catalog | 113 } // namespace catalog |
114 | 114 |
115 #endif // MOJO_SERVICES_CATALOG_CATALOG_H_ | 115 #endif // MOJO_SERVICES_CATALOG_CATALOG_H_ |
OLD | NEW |