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

Unified Diff: content/child/child_thread.h

Issue 298653010: Change Shell / ShellClient to ServiceProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Support content Mojo stuff Created 6 years, 7 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: content/child/child_thread.h
diff --git a/content/child/child_thread.h b/content/child/child_thread.h
index 1b04830763bf9462bca12913bc9838c6a0f834e9..1728c71d753f2e273cdaf2645caac2292390ace6 100644
--- a/content/child/child_thread.h
+++ b/content/child/child_thread.h
@@ -16,7 +16,7 @@
#include "content/common/content_export.h"
#include "content/common/message_router.h"
#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
-#include "mojo/public/interfaces/shell/shell.mojom.h"
+#include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
namespace base {
class MessageLoop;
@@ -56,9 +56,10 @@ class WebSocketDispatcher;
struct RequestInfo;
// The main thread of a child process derives from this class.
-class CONTENT_EXPORT ChildThread : public IPC::Listener,
- public IPC::Sender,
- public NON_EXPORTED_BASE(mojo::ShellClient) {
+class CONTENT_EXPORT ChildThread
+ : public IPC::Listener,
+ public IPC::Sender,
+ public NON_EXPORTED_BASE(mojo::ServiceProvider) {
public:
// Creates the thread.
ChildThread();
@@ -170,7 +171,7 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener,
virtual void OnChannelError() OVERRIDE;
// mojo::ShellClient implementation:
- virtual void AcceptConnection(
+ virtual void ConnectToService(
const mojo::String& service_name,
mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698