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

Unified Diff: trunk/Source/modules/websockets/WorkerThreadableWebSocketChannel.h

Issue 338343002: Revert 176303 "ThreadableWebSocketChannelClientWrapper don't nee..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 6 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: trunk/Source/modules/websockets/WorkerThreadableWebSocketChannel.h
===================================================================
--- trunk/Source/modules/websockets/WorkerThreadableWebSocketChannel.h (revision 176309)
+++ trunk/Source/modules/websockets/WorkerThreadableWebSocketChannel.h (working copy)
@@ -84,8 +84,8 @@
virtual void close(int code, const String& reason) OVERRIDE;
virtual void fail(const String& reason, MessageLevel, const String&, unsigned) OVERRIDE;
virtual void disconnect() OVERRIDE; // Will suppress didClose().
- virtual void suspend() OVERRIDE { }
- virtual void resume() OVERRIDE { }
+ virtual void suspend() OVERRIDE;
+ virtual void resume() OVERRIDE;
virtual void trace(Visitor*) OVERRIDE;
@@ -110,6 +110,8 @@
void close(int code, const String& reason);
void fail(const String& reason, MessageLevel, const String& sourceURL, unsigned lineNumber);
void disconnect();
+ void suspend();
+ void resume();
// WebSocketChannelClient functions.
virtual void didConnect(const String& subprotocol, const String& extensions) OVERRIDE;
@@ -150,6 +152,8 @@
void close(int code, const String& reason);
void fail(const String& reason, MessageLevel, const String& sourceURL, unsigned lineNumber);
void disconnect();
+ void suspend();
+ void resume();
private:
Bridge(PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>, WorkerGlobalScope&);

Powered by Google App Engine
This is Rietveld 408576698