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

Unified Diff: content/public/test/test_mojo_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 | « content/public/common/mojo_shell_connection.h ('k') | content/public/test/test_mojo_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_mojo_app.h
diff --git a/content/public/test/test_mojo_app.h b/content/public/test/test_mojo_app.h
index 72f14e5c1aaf4f1a880e7f64945a93aea9edad4a..1f27e10ab77d693d1a44d33b2296464ecdbd0c50 100644
--- a/content/public/test/test_mojo_app.h
+++ b/content/public/test/test_mojo_app.h
@@ -11,7 +11,7 @@
#include "content/public/test/test_mojo_service.mojom.h"
#include "mojo/public/cpp/bindings/binding.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 content {
@@ -19,7 +19,7 @@ extern const char kTestMojoAppUrl[];
// Simple Mojo app which provides a mojom::TestMojoService impl. The app
// terminates itself after its TestService fulfills a single DoSomething call.
-class TestMojoApp : public shell::ShellClient,
+class TestMojoApp : public shell::Service,
public shell::InterfaceFactory<mojom::TestMojoService>,
public mojom::TestMojoService {
public:
@@ -27,8 +27,8 @@ class TestMojoApp : public shell::ShellClient,
~TestMojoApp() override;
private:
- // shell::ShellClient:
- bool AcceptConnection(shell::Connection* connection) override;
+ // shell::Service:
+ bool OnConnect(shell::Connection* connection) override;
// shell::InterfaceFactory<mojom::TestMojoService>:
void Create(shell::Connection* connection,
« no previous file with comments | « content/public/common/mojo_shell_connection.h ('k') | content/public/test/test_mojo_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698