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

Side by Side Diff: components/leveldb/leveldb_app.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase 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 | « components/leveldb/DEPS ('k') | components/leveldb/leveldb_app.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 COMPONENTS_LEVELDB_LEVELDB_APP_H_ 5 #ifndef COMPONENTS_LEVELDB_LEVELDB_APP_H_
6 #define COMPONENTS_LEVELDB_LEVELDB_APP_H_ 6 #define COMPONENTS_LEVELDB_LEVELDB_APP_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "components/leveldb/public/interfaces/leveldb.mojom.h" 10 #include "components/leveldb/public/interfaces/leveldb.mojom.h"
11 #include "mojo/public/cpp/bindings/binding_set.h" 11 #include "mojo/public/cpp/bindings/binding_set.h"
12 #include "services/shell/public/cpp/interface_factory.h" 12 #include "services/service_manager/public/cpp/interface_factory.h"
13 #include "services/shell/public/cpp/service.h" 13 #include "services/service_manager/public/cpp/service.h"
14 #include "services/tracing/public/cpp/provider.h" 14 #include "services/tracing/public/cpp/provider.h"
15 15
16 namespace leveldb { 16 namespace leveldb {
17 17
18 class LevelDBApp : public shell::Service, 18 class LevelDBApp : public shell::Service,
19 public shell::InterfaceFactory<mojom::LevelDBService> { 19 public shell::InterfaceFactory<mojom::LevelDBService> {
20 public: 20 public:
21 LevelDBApp(); 21 LevelDBApp();
22 ~LevelDBApp() override; 22 ~LevelDBApp() override;
23 23
(...skipping 10 matching lines...) Expand all
34 tracing::Provider tracing_; 34 tracing::Provider tracing_;
35 std::unique_ptr<mojom::LevelDBService> service_; 35 std::unique_ptr<mojom::LevelDBService> service_;
36 mojo::BindingSet<mojom::LevelDBService> bindings_; 36 mojo::BindingSet<mojom::LevelDBService> bindings_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(LevelDBApp); 38 DISALLOW_COPY_AND_ASSIGN(LevelDBApp);
39 }; 39 };
40 40
41 } // namespace leveldb 41 } // namespace leveldb
42 42
43 #endif // COMPONENTS_LEVELDB_LEVELDB_APP_H_ 43 #endif // COMPONENTS_LEVELDB_LEVELDB_APP_H_
OLDNEW
« no previous file with comments | « components/leveldb/DEPS ('k') | components/leveldb/leveldb_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698