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

Unified Diff: trunk/src/content/child/child_thread.h

Issue 304593002: Revert 272983 "Change Shell / ShellClient to ServiceProvider" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/content/child/child_thread.h
===================================================================
--- trunk/src/content/child/child_thread.h (revision 272983)
+++ trunk/src/content/child/child_thread.h (working copy)
@@ -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/service_provider/service_provider.mojom.h"
+#include "mojo/public/interfaces/shell/shell.mojom.h"
namespace base {
class MessageLoop;
@@ -56,10 +56,9 @@
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::ServiceProvider) {
+class CONTENT_EXPORT ChildThread : public IPC::Listener,
+ public IPC::Sender,
+ public NON_EXPORTED_BASE(mojo::ShellClient) {
public:
// Creates the thread.
ChildThread();
@@ -171,7 +170,7 @@
virtual void OnChannelError() OVERRIDE;
// mojo::ShellClient implementation:
- virtual void ConnectToService(
+ virtual void AcceptConnection(
const mojo::String& service_name,
mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE;
« no previous file with comments | « trunk/src/content/browser/renderer_host/render_process_host_impl.cc ('k') | trunk/src/content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698