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

Unified Diff: content/renderer/renderer_blink_platform_impl.h

Issue 1830883002: Add blink::ServiceRegistry and expose it from LocalFrame and Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.h
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
index 979a15980a61753d3adc51a3a77b198ad9ee6793..eb197f84fcf63540763104e2c2346c58628d2099 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -50,6 +50,7 @@ class WebThreadImplForRendererScheduler;
}
namespace content {
+class BlinkServiceRegistryImpl;
class DeviceLightEventPump;
class DeviceMotionEventPump;
class DeviceOrientationEventPump;
@@ -58,6 +59,7 @@ class PlatformEventObserverBase;
class QuotaMessageFilter;
class RendererClipboardDelegate;
class RenderView;
+class ServiceRegistry;
class ThreadSafeSender;
class WebClipboardImpl;
class WebDatabaseObserverImpl;
@@ -65,8 +67,8 @@ class WebFileSystemImpl;
class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
public:
- explicit RendererBlinkPlatformImpl(
- scheduler::RendererScheduler* renderer_scheduler);
+ RendererBlinkPlatformImpl(scheduler::RendererScheduler* renderer_scheduler,
+ base::WeakPtr<ServiceRegistry> service_registry);
~RendererBlinkPlatformImpl() override;
// Shutdown must be called just prior to shutting down blink.
@@ -178,8 +180,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
createSharedOffscreenGraphicsContext3DProvider() override;
blink::WebCompositorSupport* compositorSupport() override;
blink::WebString convertIDNToUnicode(const blink::WebString& host) override;
- void connectToRemoteService(const char* name,
- mojo::ScopedMessagePipeHandle handle) override;
+ blink::ServiceRegistry* serviceRegistry() override;
void startListening(blink::WebPlatformEventType,
blink::WebPlatformEventListener*) override;
void stopListening(blink::WebPlatformEventType) override;
@@ -301,6 +302,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
scoped_ptr<LocalStorageCachedAreas> local_storage_cached_areas_;
+ scoped_ptr<BlinkServiceRegistryImpl> blink_service_registry_;
+
DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
};
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698