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

Side by Side Diff: webkit/tools/test_shell/simple_socket_stream_bridge.h

Issue 8602002: Move some webkit_glue embedder functions into WebKitPlatformSupport virtual methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright year Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_SOCKET_STREAM_BRIDGE_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_SOCKET_STREAM_BRIDGE_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_SOCKET_STREAM_BRIDGE_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_SOCKET_STREAM_BRIDGE_H_
7 7
8 #include "base/basictypes.h"
9
8 namespace net { 10 namespace net {
9 class URLRequestContext; 11 class URLRequestContext;
10 } // namespace net 12 } // namespace net
11 13
14 namespace WebKit {
15 class WebSocketStreamHandle;
16 } // namespace WebKit
17
18 namespace webkit_glue {
19 class WebSocketStreamHandleDelegate;
20 class WebSocketStreamHandleBridge;
21 } // namespace webkit_glue
22
12 class SimpleSocketStreamBridge { 23 class SimpleSocketStreamBridge {
13 public: 24 public:
14 static void InitializeOnIOThread(net::URLRequestContext* request_context); 25 static void InitializeOnIOThread(net::URLRequestContext* request_context);
15 static void Cleanup(); 26 static void Cleanup();
27 static webkit_glue::WebSocketStreamHandleBridge* Create(
28 WebKit::WebSocketStreamHandle* handle,
29 webkit_glue::WebSocketStreamHandleDelegate* delegate);
30
31 private:
32 DISALLOW_IMPLICIT_CONSTRUCTORS(SimpleSocketStreamBridge);
16 }; 33 };
17 34
18 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_SOCKET_STREAM_BRIDGE_H_ 35 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_SOCKET_STREAM_BRIDGE_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/simple_resource_loader_bridge.cc ('k') | webkit/tools/test_shell/simple_socket_stream_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698