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

Unified Diff: Source/modules/websockets/DOMWebSocket.h

Issue 954933003: Sync the WebSocket interface with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add TypeChecking=Interface Created 5 years, 10 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 | Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/DOMWebSocket.h
diff --git a/Source/modules/websockets/DOMWebSocket.h b/Source/modules/websockets/DOMWebSocket.h
index 473152bdc0990ba8a7ce282886e5440bd6580576..fba99dc93338239eb9fa58a3d642636f91bf2100 100644
--- a/Source/modules/websockets/DOMWebSocket.h
+++ b/Source/modules/websockets/DOMWebSocket.h
@@ -50,6 +50,7 @@ class Blob;
class DOMArrayBuffer;
class DOMArrayBufferView;
class ExceptionState;
+class StringOrStringSequence;
class DOMWebSocket : public RefCountedGarbageCollectedEventTargetWithInlineData<DOMWebSocket>, public ActiveDOMObject, public WebSocketChannelClient {
DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<DOMWebSocket>);
@@ -61,8 +62,7 @@ public:
// lifetime management is designed assuming the V8 holds a ref on it while
// hasPendingActivity() returns true.
static DOMWebSocket* create(ExecutionContext*, const String& url, ExceptionState&);
- static DOMWebSocket* create(ExecutionContext*, const String& url, const String& protocol, ExceptionState&);
- static DOMWebSocket* create(ExecutionContext*, const String& url, const Vector<String>& protocols, ExceptionState&);
+ static DOMWebSocket* create(ExecutionContext*, const String& url, const StringOrStringSequence& protocols, ExceptionState&);
virtual ~DOMWebSocket();
enum State {
« no previous file with comments | « no previous file | Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698