| OLD | NEW |
| 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_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "ppapi/shared_impl/resource.h" | 11 #include "ppapi/shared_impl/resource.h" |
| 12 #include "ppapi/thunk/ppb_websocket_api.h" | 12 #include "ppapi/thunk/ppb_websocket_api.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSocketClient.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSocketClient.h" |
| 14 | 14 |
| 15 struct PPB_Var; | |
| 16 | |
| 17 namespace ppapi { | 15 namespace ppapi { |
| 18 class StringVar; | 16 class StringVar; |
| 19 } | 17 } |
| 20 | 18 |
| 21 namespace WebKit { | 19 namespace WebKit { |
| 22 class WebSocket; | 20 class WebSocket; |
| 23 } | 21 } |
| 24 | 22 |
| 25 namespace webkit { | 23 namespace webkit { |
| 26 namespace ppapi { | 24 namespace ppapi { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 uint64_t buffered_amount_; | 95 uint64_t buffered_amount_; |
| 98 uint64_t buffered_amount_after_close_; | 96 uint64_t buffered_amount_after_close_; |
| 99 | 97 |
| 100 DISALLOW_COPY_AND_ASSIGN(PPB_WebSocket_Impl); | 98 DISALLOW_COPY_AND_ASSIGN(PPB_WebSocket_Impl); |
| 101 }; | 99 }; |
| 102 | 100 |
| 103 } // namespace ppapi | 101 } // namespace ppapi |
| 104 } // namespace webkit | 102 } // namespace webkit |
| 105 | 103 |
| 106 #endif // WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ | 104 #endif // WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ |
| OLD | NEW |