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

Side by Side Diff: services/catalog/instance.h

Issue 2611183006: Service Manager: Miscellaneous catalog cleanup (Closed)
Patch Set: Created 3 years, 11 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 #ifndef SERVICES_CATALOG_INSTANCE_H_ 5 #ifndef SERVICES_CATALOG_INSTANCE_H_
6 #define SERVICES_CATALOG_INSTANCE_H_ 6 #define SERVICES_CATALOG_INSTANCE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "mojo/public/cpp/bindings/binding_set.h" 11 #include "mojo/public/cpp/bindings/binding_set.h"
12 #include "services/catalog/entry.h" 12 #include "services/catalog/entry.h"
13 #include "services/catalog/public/interfaces/catalog.mojom.h" 13 #include "services/catalog/public/interfaces/catalog.mojom.h"
14 #include "services/catalog/store.h" 14 #include "services/catalog/store.h"
15 #include "services/catalog/types.h"
16 #include "services/service_manager/public/cpp/interface_factory.h" 15 #include "services/service_manager/public/cpp/interface_factory.h"
17 #include "services/service_manager/public/interfaces/resolver.mojom.h" 16 #include "services/service_manager/public/interfaces/resolver.mojom.h"
18 17
19 namespace catalog { 18 namespace catalog {
20 19
20 class EntryCache;
21 class Reader; 21 class Reader;
22 22
23 class Instance : public service_manager::mojom::Resolver, 23 class Instance : public service_manager::mojom::Resolver,
24 public mojom::Catalog { 24 public mojom::Catalog {
25 public: 25 public:
26 // |manifest_provider| may be null. 26 // |manifest_provider| may be null.
27 explicit Instance(Reader* system_reader); 27 explicit Instance(Reader* system_reader);
28 ~Instance() override; 28 ~Instance() override;
29 29
30 void BindResolver(service_manager::mojom::ResolverRequest request); 30 void BindResolver(service_manager::mojom::ResolverRequest request);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 std::vector<service_manager::mojom::ResolverRequest> 66 std::vector<service_manager::mojom::ResolverRequest>
67 pending_resolver_requests_; 67 pending_resolver_requests_;
68 std::vector<mojom::CatalogRequest> pending_catalog_requests_; 68 std::vector<mojom::CatalogRequest> pending_catalog_requests_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(Instance); 70 DISALLOW_COPY_AND_ASSIGN(Instance);
71 }; 71 };
72 72
73 } // namespace catalog 73 } // namespace catalog
74 74
75 #endif // SERVICES_CATALOG_INSTANCE_H_ 75 #endif // SERVICES_CATALOG_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698