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

Unified Diff: components/leveldb/leveldb_app.h

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/font_service/font_service_app.cc ('k') | components/leveldb/leveldb_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/leveldb/leveldb_app.h
diff --git a/components/leveldb/leveldb_app.h b/components/leveldb/leveldb_app.h
index d53e9373a31b5ee6cc2ef219d4c73d9ad220d91e..a7385efd22735740577c2ba0216788088676022b 100644
--- a/components/leveldb/leveldb_app.h
+++ b/components/leveldb/leveldb_app.h
@@ -10,23 +10,23 @@
#include "components/leveldb/public/interfaces/leveldb.mojom.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/shell/public/cpp/interface_factory.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
#include "services/tracing/public/cpp/tracing_impl.h"
namespace leveldb {
-class LevelDBApp : public shell::ShellClient,
+class LevelDBApp : public shell::Service,
public shell::InterfaceFactory<mojom::LevelDBService> {
public:
LevelDBApp();
~LevelDBApp() override;
private:
- // |ShellClient| override:
- void Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) override;
- bool AcceptConnection(shell::Connection* connection) override;
+ // |Service| override:
+ void OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) override;
+ bool OnConnect(shell::Connection* connection) override;
// |InterfaceFactory<mojom::LevelDBService>| implementation:
void Create(shell::Connection* connection,
« no previous file with comments | « components/font_service/font_service_app.cc ('k') | components/leveldb/leveldb_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698