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

Unified Diff: webkit/child/websocketstreamhandle_impl.h

Issue 185553014: Revert "Revert 254514 "Revert 254507 "Reland "Move WebKitPlatformSupport..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « webkit/child/websocketstreamhandle_delegate.h ('k') | webkit/child/websocketstreamhandle_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/child/websocketstreamhandle_impl.h
diff --git a/content/child/web_socket_stream_handle_impl.h b/webkit/child/websocketstreamhandle_impl.h
similarity index 50%
rename from content/child/web_socket_stream_handle_impl.h
rename to webkit/child/websocketstreamhandle_impl.h
index 6e806766a8f2ee6afd737498cdbe4e92a3e64355..c2f7f314ba388ea587786f6031ee84689981c7cb 100644
--- a/content/child/web_socket_stream_handle_impl.h
+++ b/webkit/child/websocketstreamhandle_impl.h
@@ -2,37 +2,39 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_CHILD_WEB_SOCKET_STREAM_HANDLE_IMPL_H_
-#define CONTENT_CHILD_WEB_SOCKET_STREAM_HANDLE_IMPL_H_
+#ifndef WEBKIT_CHILD_WEBSOCKETSTREAMHANDLE_IMPL_H_
+#define WEBKIT_CHILD_WEBSOCKETSTREAMHANDLE_IMPL_H_
#include "base/memory/ref_counted.h"
#include "base/supports_user_data.h"
#include "third_party/WebKit/public/platform/WebSocketStreamHandle.h"
-namespace content {
+namespace webkit_glue {
-class BlinkPlatformImpl;
+class WebKitPlatformSupportImpl;
-class WebSocketStreamHandleImpl : public base::SupportsUserData,
- public blink::WebSocketStreamHandle {
+class WebSocketStreamHandleImpl
+ : public base::SupportsUserData,
+ public blink::WebSocketStreamHandle {
public:
- explicit WebSocketStreamHandleImpl(BlinkPlatformImpl* platform);
+ explicit WebSocketStreamHandleImpl(WebKitPlatformSupportImpl* platform);
virtual ~WebSocketStreamHandleImpl();
// WebSocketStreamHandle methods:
- virtual void connect(const blink::WebURL& url,
- blink::WebSocketStreamHandleClient* client);
+ virtual void connect(
+ const blink::WebURL& url,
+ blink::WebSocketStreamHandleClient* client);
virtual bool send(const blink::WebData& data);
virtual void close();
private:
class Context;
scoped_refptr<Context> context_;
- BlinkPlatformImpl* platform_;
+ WebKitPlatformSupportImpl* platform_;
DISALLOW_COPY_AND_ASSIGN(WebSocketStreamHandleImpl);
};
-} // namespace content
+} // namespace webkit_glue
-#endif // CONTENT_CHILD_WEB_SOCKET_STREAM_HANDLE_IMPL_H_
+#endif // WEBKIT_CHILD_WEBSOCKETSTREAMHANDLE_IMPL_H_
« no previous file with comments | « webkit/child/websocketstreamhandle_delegate.h ('k') | webkit/child/websocketstreamhandle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698