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

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

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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 | « media/mojo/services/mojo_media_application.cc ('k') | services/catalog/catalog.cc » ('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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 shell::mojom::ServicePtr TakeService(); 58 shell::mojom::ServicePtr TakeService();
59 59
60 private: 60 private:
61 explicit Catalog(std::unique_ptr<Store> store); 61 explicit Catalog(std::unique_ptr<Store> store);
62 62
63 // Starts a scane for system packages. 63 // Starts a scane for system packages.
64 void ScanSystemPackageDir(); 64 void ScanSystemPackageDir();
65 65
66 // shell::Service: 66 // shell::Service:
67 bool OnConnect(shell::Connection* connection) override; 67 bool OnConnect(const shell::Identity& remote_identity,
68 shell::InterfaceRegistry* registry) override;
68 69
69 // shell::InterfaceFactory<shell::mojom::Resolver>: 70 // shell::InterfaceFactory<shell::mojom::Resolver>:
70 void Create(const shell::Identity& remote_identity, 71 void Create(const shell::Identity& remote_identity,
71 shell::mojom::ResolverRequest request) override; 72 shell::mojom::ResolverRequest request) override;
72 73
73 // shell::InterfaceFactory<mojom::Catalog>: 74 // shell::InterfaceFactory<mojom::Catalog>:
74 void Create(const shell::Identity& remote_identity, 75 void Create(const shell::Identity& remote_identity,
75 mojom::CatalogRequest request) override; 76 mojom::CatalogRequest request) override;
76 77
77 // shell::InterfaceFactory<filesystem::mojom::Directory>: 78 // shell::InterfaceFactory<filesystem::mojom::Directory>:
(...skipping 18 matching lines...) Expand all
96 scoped_refptr<filesystem::LockTable> lock_table_; 97 scoped_refptr<filesystem::LockTable> lock_table_;
97 98
98 base::WeakPtrFactory<Catalog> weak_factory_; 99 base::WeakPtrFactory<Catalog> weak_factory_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(Catalog); 101 DISALLOW_COPY_AND_ASSIGN(Catalog);
101 }; 102 };
102 103
103 } // namespace catalog 104 } // namespace catalog
104 105
105 #endif // SERVICES_CATALOG_CATALOG_H_ 106 #endif // SERVICES_CATALOG_CATALOG_H_
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_media_application.cc ('k') | services/catalog/catalog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698