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

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, 9 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/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 2c05ea6608505a209483f954d3607f8c34c928b5..c264aa0c92987d224e311003be31ee12ed353a86 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -49,6 +49,7 @@ class WebThreadImplForRendererScheduler;
}
namespace content {
+class BlinkServiceRegistryImpl;
class DeviceLightEventPump;
class DeviceMotionEventPump;
class DeviceOrientationEventPump;
@@ -178,8 +179,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
blink::WebString convertIDNToUnicode(
const blink::WebString& host,
const blink::WebString& languages) 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;
@@ -299,6 +299,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);
};

Powered by Google App Engine
This is Rietveld 408576698