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

Unified Diff: third_party/WebKit/Source/web/WebPepperSocketImpl.h

Issue 1759263002: Rename public/web/WebSocket things to WebPepperSocket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more missed names. Created 4 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
Index: third_party/WebKit/Source/web/WebPepperSocketImpl.h
diff --git a/third_party/WebKit/Source/web/WebSocketImpl.h b/third_party/WebKit/Source/web/WebPepperSocketImpl.h
similarity index 84%
rename from third_party/WebKit/Source/web/WebSocketImpl.h
rename to third_party/WebKit/Source/web/WebPepperSocketImpl.h
index 8ae7b8204585267bd989a3cfaf5429c839e22c80..62c67261ccfa5b343c6744c50b857f44979fa739 100644
--- a/third_party/WebKit/Source/web/WebSocketImpl.h
+++ b/third_party/WebKit/Source/web/WebPepperSocketImpl.h
@@ -28,29 +28,29 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebSocketImpl_h
-#define WebSocketImpl_h
+#ifndef WebPepperSocketImpl_h
+#define WebPepperSocketImpl_h
#include "modules/websockets/WebSocketChannelClient.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebCommon.h"
#include "public/platform/WebString.h"
-#include "public/web/WebSocket.h"
-#include "public/web/WebSocketClient.h"
+#include "public/web/WebPepperSocket.h"
+#include "public/web/WebPepperSocketClient.h"
#include "wtf/OwnPtr.h"
#include "wtf/RefPtr.h"
namespace blink {
class WebDocument;
+class WebPepperSocketChannelClientProxy;
class WebSocketChannel;
-class WebSocketChannelClientProxy;
class WebURL;
-class WebSocketImpl final : public WebSocket {
+class WebPepperSocketImpl final : public WebPepperSocket {
public:
- WebSocketImpl(const WebDocument&, WebSocketClient*);
- ~WebSocketImpl() override;
+ WebPepperSocketImpl(const WebDocument&, WebPepperSocketClient*);
+ ~WebPepperSocketImpl() override;
bool isNull() const { return !m_private; }
@@ -66,7 +66,7 @@ public:
void fail(const WebString& reason) override;
void disconnect() override;
- // WebSocketChannelClient methods proxied by WebSocketChannelClientProxy.
+ // WebSocketChannelClient methods proxied by WebPepperSocketChannelClientProxy.
void didConnect(const String& subprotocol, const String& extensions);
void didReceiveTextMessage(const String& payload);
void didReceiveBinaryMessage(PassOwnPtr<Vector<char>> payload);
@@ -77,8 +77,8 @@ public:
private:
Persistent<WebSocketChannel> m_private;
- WebSocketClient* m_client;
- Persistent<WebSocketChannelClientProxy> m_channelProxy;
+ WebPepperSocketClient* m_client;
+ Persistent<WebPepperSocketChannelClientProxy> m_channelProxy;
BinaryType m_binaryType;
WebString m_subprotocol;
WebString m_extensions;
@@ -90,4 +90,4 @@ private:
} // namespace blink
-#endif // WebWebSocketChannelImpl_h
+#endif // WebPepperSocketImpl_h

Powered by Google App Engine
This is Rietveld 408576698