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

Unified Diff: public/platform/WebSocketHandle.h

Issue 206143003: [WebSocket] Delete WebSocketHandle deprecated function. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebSocketHandle.h
diff --git a/public/platform/WebSocketHandle.h b/public/platform/WebSocketHandle.h
index 4eed84647ea0afabfe1fbe87b2afcfc05e4ac185..c5c3a4c44854a353dfa4461a88feb2f7a44705b6 100644
--- a/public/platform/WebSocketHandle.h
+++ b/public/platform/WebSocketHandle.h
@@ -32,11 +32,11 @@
#define WebSocketHandle_h
#include "public/platform/WebCommon.h"
-#include "public/platform/WebSerializedOrigin.h"
#include "public/platform/WebVector.h"
namespace blink {
+class WebSerializedOrigin;
class WebSocketHandleClient;
class WebString;
class WebURL;
@@ -59,16 +59,7 @@ public:
virtual ~WebSocketHandle() { }
- virtual void connect(const WebURL& url, const WebVector<WebString>& protocols, const WebString& origin, WebSocketHandleClient* client)
- {
- // This method is not pure-virtual to avoid a compile error during
- // the transition from connect(..., WebString, ...) to
- // connect(..., WebSerializedOrigin, ...).
- }
- virtual void connect(const WebURL& url, const WebVector<WebString>& protocols, const WebSerializedOrigin& origin, WebSocketHandleClient* client)
- {
- this->connect(url, protocols, origin.string(), client);
- }
+ virtual void connect(const WebURL& /* url */, const WebVector<WebString>& protocols, const WebSerializedOrigin& /* origin */, WebSocketHandleClient*) = 0;
virtual void send(bool fin, MessageType, const char* data, size_t /* size */) = 0;
virtual void flowControl(int64_t quota) = 0;
virtual void close(unsigned short code, const WebString& reason) = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698