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

Unified Diff: services/shell/tests/shell/target.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 | « services/shell/tests/shell/shell_unittest.cc ('k') | services/shell/tests/shutdown/shutdown_client_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/shell/target.cc
diff --git a/services/shell/tests/shell/target.cc b/services/shell/tests/shell/target.cc
index 68a2bb55a6e3496069e2c01340ef7bf169f7fea6..9c0c9649cb444a5a5e152746e7c766eb5a8e6371 100644
--- a/services/shell/tests/shell/target.cc
+++ b/services/shell/tests/shell/target.cc
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "services/shell/public/cpp/connection.h"
#include "services/shell/public/cpp/connector.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
#include "services/shell/runner/child/test_native_main.h"
#include "services/shell/runner/init.h"
#include "services/shell/tests/shell/shell_unittest.mojom.h"
@@ -16,16 +16,16 @@ using shell::test::mojom::CreateInstanceTestPtr;
namespace {
-class Target : public shell::ShellClient {
+class Target : public shell::Service {
public:
Target() {}
~Target() override {}
private:
- // shell::ShellClient:
- void Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) override {
+ // shell::Service:
+ void OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) override {
CreateInstanceTestPtr service;
connector->ConnectToInterface("mojo:shell_unittest", &service);
service->SetTargetID(id);
« no previous file with comments | « services/shell/tests/shell/shell_unittest.cc ('k') | services/shell/tests/shutdown/shutdown_client_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698