diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-25 00:40:32 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-25 00:40:32 +0000 |
commit | 9916ecfd2efc8760aa1f60a008591bd59dd89eee (patch) | |
tree | 823d8e78c06a98e05947cba0f5f54ab3f1ee14bf /content/renderer/render_thread_impl.h | |
parent | 0bab85619ab754150ec1a30f7dcc5f82ec72f687 (diff) | |
download | chromium_src-9916ecfd2efc8760aa1f60a008591bd59dd89eee.zip chromium_src-9916ecfd2efc8760aa1f60a008591bd59dd89eee.tar.gz chromium_src-9916ecfd2efc8760aa1f60a008591bd59dd89eee.tar.bz2 |
Revert 279557 "Support exposing Mojo services between render fra..."
Causing compile failure:
http://build.chromium.org/p/chromium.linux/builders/Android%20Builder%20%28dbg%29/builds/60210
> Support exposing Mojo services between render frames, render threads, and their respective hosts.
>
> This introduces ServiceRegistry as an abstraction around providing
> services to and accessing services from a remote peer. In particular,
> this adds peered service registries to RenderProcessHost and
> RenderThread, and to RenderFrameHost and RenderFrame - the RenderFrame
> setup is implemented using the RenderProcessHost/RenderThread
> ServiceRegistry pair.
>
> This replaces the existing WebUI handle setup by adding a webUI
> controller service to the frame host registry and a corresponding
> request for the webUI controller service to the frame registry.
>
> BUG=386155
>
> Review URL: https://codereview.chromium.org/285333003
TBR=sammc@chromium.org
Review URL: https://codereview.chromium.org/352013002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_thread_impl.h')
-rw-r--r-- | content/renderer/render_thread_impl.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h index 3bc7f9d..d8d50c8 100644 --- a/content/renderer/render_thread_impl.h +++ b/content/renderer/render_thread_impl.h @@ -166,7 +166,6 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; virtual void ReleaseCachedFonts() OVERRIDE; #endif - virtual ServiceRegistry* GetServiceRegistry() OVERRIDE; // Synchronously establish a channel to the GPU plugin if not previously // established or if it has been lost (for example if the GPU plugin crashed). @@ -401,9 +400,6 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, void AddEmbeddedWorkerRoute(int32 routing_id, IPC::Listener* listener); void RemoveEmbeddedWorkerRoute(int32 routing_id); - void RegisterPendingRenderFrameConnect(int routing_id, - mojo::ScopedMessagePipeHandle handle); - private: // ChildThread virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; @@ -429,6 +425,13 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, unsigned internalformat, unsigned usage) OVERRIDE; + // mojo::ServiceProvider implementation: + virtual void ConnectToService( + const mojo::String& service_url, + const mojo::String& service_name, + mojo::ScopedMessagePipeHandle message_pipe, + const mojo::String& requestor_url) OVERRIDE; + void Init(); void OnSetZoomLevelForCurrentURL(const std::string& scheme, @@ -577,8 +580,6 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, bool is_zero_copy_enabled_; bool is_one_copy_enabled_; - std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; - DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); }; |