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

Unified Diff: services/shell/tests/connect/connect_test_singleton_app.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
Index: services/shell/tests/connect/connect_test_singleton_app.cc
diff --git a/services/shell/tests/connect/connect_test_singleton_app.cc b/services/shell/tests/connect/connect_test_singleton_app.cc
index 51a2a3ecd45604a9140e9a09130dc53053092a67..aef00747a7581ae64dba049c3307dc5cdc86965c 100644
--- a/services/shell/tests/connect/connect_test_singleton_app.cc
+++ b/services/shell/tests/connect/connect_test_singleton_app.cc
@@ -5,20 +5,20 @@
#include "base/macros.h"
#include "mojo/public/c/system/main.h"
#include "services/shell/public/cpp/application_runner.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
namespace shell {
-class ConnectTestSingletonApp : public ShellClient {
+class ConnectTestSingletonApp : public Service {
public:
ConnectTestSingletonApp() {}
~ConnectTestSingletonApp() override {}
private:
- // shell::ShellClient:
- void Initialize(Connector* connector, const Identity& identity,
- uint32_t id) override {}
- bool AcceptConnection(Connection* connection) override {
+ // shell::Service:
+ void OnStart(Connector* connector, const Identity& identity,
+ uint32_t id) override {}
+ bool OnConnect(Connection* connection) override {
return true;
}
« no previous file with comments | « services/shell/tests/connect/connect_test_package.cc ('k') | services/shell/tests/connect/connect_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698