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

Unified Diff: content/renderer/pepper/pepper_websocket_host.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
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_websocket_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_websocket_host.h
diff --git a/content/renderer/pepper/pepper_websocket_host.h b/content/renderer/pepper/pepper_websocket_host.h
index c0106ad8b6ba6df774e5ec0fe581cc09f3d18d69..baac24279488920ed3c7eaa1fe24c8e385a3806a 100644
--- a/content/renderer/pepper/pepper_websocket_host.h
+++ b/content/renderer/pepper/pepper_websocket_host.h
@@ -16,8 +16,8 @@
#include "ppapi/host/host_message_context.h"
#include "ppapi/host/resource_host.h"
#include "ppapi/proxy/resource_message_params.h"
-#include "third_party/WebKit/public/web/WebSocket.h"
-#include "third_party/WebKit/public/web/WebSocketClient.h"
+#include "third_party/WebKit/public/web/WebPepperSocket.h"
+#include "third_party/WebKit/public/web/WebPepperSocketClient.h"
namespace ppapi {
class StringVar;
@@ -30,7 +30,7 @@ class RendererPpapiHost;
class CONTENT_EXPORT PepperWebSocketHost
: public ppapi::host::ResourceHost,
- public NON_EXPORTED_BASE(::blink::WebSocketClient) {
+ public NON_EXPORTED_BASE(::blink::WebPepperSocketClient) {
public:
explicit PepperWebSocketHost(RendererPpapiHost* host,
PP_Instance instance,
@@ -41,7 +41,7 @@ class CONTENT_EXPORT PepperWebSocketHost
const IPC::Message& msg,
ppapi::host::HostMessageContext* context) override;
- // WebSocketClient implementation.
+ // WebPepperSocketClient implementation.
void didConnect() override;
void didReceiveMessage(const blink::WebString& message) override;
void didReceiveArrayBuffer(const blink::WebArrayBuffer& binaryData) override;
@@ -93,7 +93,7 @@ class CONTENT_EXPORT PepperWebSocketHost
// Keeps the WebKit side WebSocket object. This is used for calling WebKit
// side functions via WebKit API.
- scoped_ptr<blink::WebSocket> websocket_;
+ scoped_ptr<blink::WebPepperSocket> websocket_;
DISALLOW_COPY_AND_ASSIGN(PepperWebSocketHost);
};
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_websocket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698