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

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

Issue 1775243002: Rename PackageManager->Catalog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@42cpi
Patch Set: . Created 4 years, 9 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 | « mojo/services/catalog/catalog.cc ('k') | mojo/services/catalog/loader.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 MOJO_SERVICES_PACKAGE_MANAGER_LOADER_H_ 5 #ifndef MOJO_SERVICES_CATALOG_LOADER_H_
6 #define MOJO_SERVICES_PACKAGE_MANAGER_LOADER_H_ 6 #define MOJO_SERVICES_CATALOG_LOADER_H_
7 7
8 #include "mojo/shell/loader.h" 8 #include "mojo/shell/loader.h"
9 9
10 namespace base { 10 namespace base {
11 class BlockingPool; 11 class BlockingPool;
12 } 12 }
13 13
14 namespace mojo { 14 namespace mojo {
15 class ShellClient; 15 class ShellClient;
16 class ShellConnection; 16 class ShellConnection;
17 } 17 }
18 18
19 namespace package_manager { 19 namespace catalog {
20 20
21 class ApplicationCatalogStore; 21 class Store;
22 22
23 class Loader : public mojo::shell::Loader { 23 class Loader : public mojo::shell::Loader {
24 public: 24 public:
25 Loader(base::TaskRunner* blocking_pool, 25 Loader(base::TaskRunner* blocking_pool, scoped_ptr<Store> store);
26 scoped_ptr<package_manager::ApplicationCatalogStore> app_catalog);
27 ~Loader() override; 26 ~Loader() override;
28 27
29 // mojo::shell::Loader: 28 // mojo::shell::Loader:
30 void Load(const std::string& name, 29 void Load(const std::string& name,
31 mojo::shell::mojom::ShellClientRequest request) override; 30 mojo::shell::mojom::ShellClientRequest request) override;
32 31
33 private: 32 private:
34 base::TaskRunner* blocking_pool_; 33 base::TaskRunner* blocking_pool_;
35 scoped_ptr<package_manager::ApplicationCatalogStore> app_catalog_; 34 scoped_ptr<Store> store_;
36 scoped_ptr<mojo::ShellClient> client_; 35 scoped_ptr<mojo::ShellClient> client_;
37 scoped_ptr<mojo::ShellConnection> connection_; 36 scoped_ptr<mojo::ShellConnection> connection_;
38 37
39 DISALLOW_COPY_AND_ASSIGN(Loader); 38 DISALLOW_COPY_AND_ASSIGN(Loader);
40 }; 39 };
41 40
42 } // namespace package_manager 41 } // namespace catalog
43 42
44 #endif // MOJO_SERVICES_PACKAGE_MANAGER_LOADER_H_ 43 #endif // MOJO_SERVICES_CATALOG_LOADER_H_
OLDNEW
« no previous file with comments | « mojo/services/catalog/catalog.cc ('k') | mojo/services/catalog/loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698