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

Side by Side Diff: mojo/services/package_manager/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/package_manager/DEPS ('k') | mojo/services/package_manager/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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MOJO_SERVICES_PACKAGE_MANAGER_LOADER_H_
6 #define MOJO_SERVICES_PACKAGE_MANAGER_LOADER_H_
7
8 #include "mojo/shell/loader.h"
9
10 namespace base {
11 class BlockingPool;
12 }
13
14 namespace mojo {
15 class ShellClient;
16 class ShellConnection;
17 }
18
19 namespace package_manager {
20
21 class ApplicationCatalogStore;
22
23 class Loader : public mojo::shell::Loader {
24 public:
25 Loader(base::TaskRunner* blocking_pool,
26 scoped_ptr<package_manager::ApplicationCatalogStore> app_catalog);
27 ~Loader() override;
28
29 // mojo::shell::Loader:
30 void Load(const std::string& name,
31 mojo::shell::mojom::ShellClientRequest request) override;
32
33 private:
34 base::TaskRunner* blocking_pool_;
35 scoped_ptr<package_manager::ApplicationCatalogStore> app_catalog_;
36 scoped_ptr<mojo::ShellClient> client_;
37 scoped_ptr<mojo::ShellConnection> connection_;
38
39 DISALLOW_COPY_AND_ASSIGN(Loader);
40 };
41
42 } // namespace package_manager
43
44 #endif // MOJO_SERVICES_PACKAGE_MANAGER_LOADER_H_
OLDNEW
« no previous file with comments | « mojo/services/package_manager/DEPS ('k') | mojo/services/package_manager/loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698