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

Unified Diff: mojo/public/cpp/bindings/tests/versioning_test_service.cc

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 | « media/mojo/services/mojo_media_application_factory.cc ('k') | services/catalog/catalog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/versioning_test_service.cc
diff --git a/mojo/public/cpp/bindings/tests/versioning_test_service.cc b/mojo/public/cpp/bindings/tests/versioning_test_service.cc
index 43020f49d524320b1c900366c6e1a04df8937c40..2f554d9cd769ce446fd2cfffed955e231ffdd050 100644
--- a/mojo/public/cpp/bindings/tests/versioning_test_service.cc
+++ b/mojo/public/cpp/bindings/tests/versioning_test_service.cc
@@ -13,7 +13,7 @@
#include "mojo/public/interfaces/bindings/tests/versioning_test_service.mojom.h"
#include "services/shell/public/cpp/application_runner.h"
#include "services/shell/public/cpp/interface_factory.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
namespace mojo {
namespace test {
@@ -95,13 +95,13 @@ class HumanResourceDatabaseImpl : public HumanResourceDatabase {
};
class HumanResourceSystemServer
- : public shell::ShellClient,
+ : public shell::Service,
public InterfaceFactory<HumanResourceDatabase> {
public:
HumanResourceSystemServer() {}
- // shell::ShellClient implementation.
- bool AcceptConnection(Connection* connection) override {
+ // shell::Service implementation.
+ bool OnConnect(Connection* connection) override {
connection->AddInterface<HumanResourceDatabase>(this);
return true;
}
« no previous file with comments | « media/mojo/services/mojo_media_application_factory.cc ('k') | services/catalog/catalog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698