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

Unified Diff: webkit/child/webkitplatformsupport_impl.h

Issue 22815034: Introduce webkit_glue bridges for the new WebSocket Implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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: webkit/child/webkitplatformsupport_impl.h
diff --git a/webkit/child/webkitplatformsupport_impl.h b/webkit/child/webkitplatformsupport_impl.h
index b9ed7e85f13017b7939bab99ec9b8f91c538c4ee..ba15d9f52e7b2e918bc8ca3f8eb8d948d68b9e54 100644
--- a/webkit/child/webkitplatformsupport_impl.h
+++ b/webkit/child/webkitplatformsupport_impl.h
@@ -20,6 +20,7 @@ class MessageLoop;
}
namespace WebKit {
+class WebSocketHandle;
class WebSocketStreamHandle;
}
@@ -27,6 +28,8 @@ namespace webkit_glue {
class WebSocketStreamHandleDelegate;
class WebSocketStreamHandleBridge;
+class WebSocketHandleDelegate;
+class WebSocketHandleBridge;
class WEBKIT_CHILD_EXPORT WebKitPlatformSupportImpl :
NON_EXPORTED_BASE(public WebKit::Platform) {
@@ -60,6 +63,7 @@ class WEBKIT_CHILD_EXPORT WebKitPlatformSupportImpl :
virtual bool memoryAllocatorWasteInBytes(size_t* size);
virtual WebKit::WebURLLoader* createURLLoader();
virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle();
+ virtual WebKit::WebSocketHandle* createWebSocketHandle();
virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
virtual WebKit::WebData parseDataURL(
const WebKit::WebURL& url, WebKit::WebString& mimetype,
@@ -122,9 +126,12 @@ class WEBKIT_CHILD_EXPORT WebKitPlatformSupportImpl :
virtual ResourceLoaderBridge* CreateResourceLoader(
const ResourceLoaderBridge::RequestInfo& request_info) = 0;
// Creates a WebSocketStreamHandleBridge.
- virtual WebSocketStreamHandleBridge* CreateWebSocketBridge(
+ virtual WebSocketStreamHandleBridge* CreateWebSocketStreamBridge(
WebKit::WebSocketStreamHandle* handle,
WebSocketStreamHandleDelegate* delegate) = 0;
+ // Creates a WebSocketHandleBridge.
+ virtual WebSocketHandleBridge* CreateWebSocketBridge(
+ WebSocketHandleDelegate* delegate) = 0;
kinuko 2013/09/05 08:10:39 I suspect we might be able to move websocketstream
yhirano 2013/09/05 11:25:02 I filed a ticket and will do it in the future.
void SuspendSharedTimer();
void ResumeSharedTimer();

Powered by Google App Engine
This is Rietveld 408576698