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

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

Issue 2427443002: Replace remaining shell references with service manager (Closed)
Patch Set: Created 4 years, 2 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 | « services/README.md ('k') | services/catalog/manifest.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CATALOG_H_ 5 #ifndef SERVICES_CATALOG_CATALOG_H_
6 #define SERVICES_CATALOG_CATALOG_H_ 6 #define SERVICES_CATALOG_CATALOG_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 namespace catalog { 36 namespace catalog {
37 37
38 class Instance; 38 class Instance;
39 class ManifestProvider; 39 class ManifestProvider;
40 class Reader; 40 class Reader;
41 class Store; 41 class Store;
42 42
43 // Creates and owns an instance of the catalog. Exposes a ServicePtr that 43 // Creates and owns an instance of the catalog. Exposes a ServicePtr that
44 // can be passed to the Shell, potentially in a different process. 44 // can be passed to the service manager, potentially in a different process.
45 class Catalog 45 class Catalog
46 : public service_manager::Service, 46 : public service_manager::Service,
47 public service_manager::InterfaceFactory<mojom::Catalog>, 47 public service_manager::InterfaceFactory<mojom::Catalog>,
48 public service_manager::InterfaceFactory<filesystem::mojom::Directory>, 48 public service_manager::InterfaceFactory<filesystem::mojom::Directory>,
49 public service_manager::InterfaceFactory< 49 public service_manager::InterfaceFactory<
50 service_manager::mojom::Resolver>, 50 service_manager::mojom::Resolver>,
51 public service_manager::InterfaceFactory<mojom::CatalogControl>, 51 public service_manager::InterfaceFactory<mojom::CatalogControl>,
52 public mojom::CatalogControl { 52 public mojom::CatalogControl {
53 public: 53 public:
54 // |manifest_provider| may be null. 54 // |manifest_provider| may be null.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 mojo::BindingSet<mojom::CatalogControl> control_bindings_; 120 mojo::BindingSet<mojom::CatalogControl> control_bindings_;
121 121
122 base::WeakPtrFactory<Catalog> weak_factory_; 122 base::WeakPtrFactory<Catalog> weak_factory_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(Catalog); 124 DISALLOW_COPY_AND_ASSIGN(Catalog);
125 }; 125 };
126 126
127 } // namespace catalog 127 } // namespace catalog
128 128
129 #endif // SERVICES_CATALOG_CATALOG_H_ 129 #endif // SERVICES_CATALOG_CATALOG_H_
OLDNEW
« no previous file with comments | « services/README.md ('k') | services/catalog/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698