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

Unified Diff: mojo/services/html_viewer/blink_platform_impl.h

Issue 515923003: Mojo: Add a WebSocket/Client interface and hook it up to the HTML viewer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: mojo/services/html_viewer/blink_platform_impl.h
diff --git a/mojo/services/html_viewer/blink_platform_impl.h b/mojo/services/html_viewer/blink_platform_impl.h
index b876f211179cb66104ef590a4b973da37c9f712f..b7796a6b9f0e47ca2e5c17d8ba9f196fe76fa876 100644
--- a/mojo/services/html_viewer/blink_platform_impl.h
+++ b/mojo/services/html_viewer/blink_platform_impl.h
@@ -38,6 +38,8 @@ class BlinkPlatformImpl : public blink::Platform {
virtual void stopSharedTimer();
virtual void callOnMainThread(void (*func)(void*), void* context);
virtual blink::WebURLLoader* createURLLoader();
+ virtual blink::WebSocketStreamHandle* createSocketStreamHandle();
+ virtual blink::WebSocketHandle* createWebSocketHandle();
virtual blink::WebString userAgent();
virtual blink::WebData parseDataURL(
const blink::WebURL& url, blink::WebString& mime_type,

Powered by Google App Engine
This is Rietveld 408576698