| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_ |
| 6 #define WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_ | 6 #define WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/supports_user_data.h" | 9 #include "base/supports_user_data.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebSocketStreamHand
le.h" | 10 #include "third_party/WebKit/public/platform/WebSocketStreamHandle.h" |
| 11 | 11 |
| 12 namespace webkit_glue { | 12 namespace webkit_glue { |
| 13 | 13 |
| 14 class WebKitPlatformSupportImpl; | 14 class WebKitPlatformSupportImpl; |
| 15 | 15 |
| 16 class WebSocketStreamHandleImpl | 16 class WebSocketStreamHandleImpl |
| 17 : public base::SupportsUserData, | 17 : public base::SupportsUserData, |
| 18 public WebKit::WebSocketStreamHandle { | 18 public WebKit::WebSocketStreamHandle { |
| 19 public: | 19 public: |
| 20 explicit WebSocketStreamHandleImpl(WebKitPlatformSupportImpl* platform); | 20 explicit WebSocketStreamHandleImpl(WebKitPlatformSupportImpl* platform); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 31 class Context; | 31 class Context; |
| 32 scoped_refptr<Context> context_; | 32 scoped_refptr<Context> context_; |
| 33 WebKitPlatformSupportImpl* platform_; | 33 WebKitPlatformSupportImpl* platform_; |
| 34 | 34 |
| 35 DISALLOW_COPY_AND_ASSIGN(WebSocketStreamHandleImpl); | 35 DISALLOW_COPY_AND_ASSIGN(WebSocketStreamHandleImpl); |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace webkit_glue | 38 } // namespace webkit_glue |
| 39 | 39 |
| 40 #endif // WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_ | 40 #endif // WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_ |
| OLD | NEW |