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

Unified Diff: services/shell/tests/lifecycle/app_client.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 | « services/shell/tests/connect/connect_unittest.cc ('k') | services/shell/tests/lifecycle/app_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/lifecycle/app_client.h
diff --git a/services/shell/tests/lifecycle/app_client.h b/services/shell/tests/lifecycle/app_client.h
index efeb3c717732e26d15da17e1101faec45ca8157b..b83a5a279f5cc40a6b542bb0060387fe986f79d3 100644
--- a/services/shell/tests/lifecycle/app_client.h
+++ b/services/shell/tests/lifecycle/app_client.h
@@ -12,8 +12,8 @@
#include "mojo/public/cpp/bindings/binding_set.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/interfaces/shell_client.mojom.h"
+#include "services/shell/public/cpp/service.h"
+#include "services/shell/public/interfaces/service.mojom.h"
#include "services/shell/tests/lifecycle/lifecycle_unittest.mojom.h"
using LifecycleControl = shell::test::mojom::LifecycleControl;
@@ -24,20 +24,20 @@ class ShellConnection;
namespace test {
-class AppClient : public ShellClient,
+class AppClient : public Service,
public InterfaceFactory<LifecycleControl>,
public LifecycleControl {
public:
AppClient();
- explicit AppClient(shell::mojom::ShellClientRequest request);
+ explicit AppClient(shell::mojom::ServiceRequest request);
~AppClient() override;
void set_runner(ApplicationRunner* runner) {
runner_ = runner;
}
- // ShellClient:
- bool AcceptConnection(Connection* connection) override;
+ // Service:
+ bool OnConnect(Connection* connection) override;
// InterfaceFactory<LifecycleControl>:
void Create(Connection* connection, LifecycleControlRequest request) override;
« no previous file with comments | « services/shell/tests/connect/connect_unittest.cc ('k') | services/shell/tests/lifecycle/app_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698