| 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 PPAPI_PROXY_WEBSOCKET_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_WEBSOCKET_RESOURCE_H_ |
| 6 #define PPAPI_PROXY_WEBSOCKET_RESOURCE_H_ | 6 #define PPAPI_PROXY_WEBSOCKET_RESOURCE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <queue> | 10 #include <queue> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "ppapi/c/ppb_websocket.h" | 13 #include "ppapi/c/ppb_websocket.h" |
| 11 #include "ppapi/proxy/plugin_resource.h" | 14 #include "ppapi/proxy/plugin_resource.h" |
| 12 #include "ppapi/shared_impl/tracked_callback.h" | 15 #include "ppapi/shared_impl/tracked_callback.h" |
| 13 #include "ppapi/thunk/ppb_websocket_api.h" | 16 #include "ppapi/thunk/ppb_websocket_api.h" |
| 14 | 17 |
| 15 namespace ppapi { | 18 namespace ppapi { |
| 16 | 19 |
| 17 class StringVar; | 20 class StringVar; |
| 18 class Var; | 21 class Var; |
| 19 | 22 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // specification. The calculated value can be read via GetBufferedAmount(). | 151 // specification. The calculated value can be read via GetBufferedAmount(). |
| 149 uint64_t buffered_amount_after_close_; | 152 uint64_t buffered_amount_after_close_; |
| 150 | 153 |
| 151 DISALLOW_COPY_AND_ASSIGN(WebSocketResource); | 154 DISALLOW_COPY_AND_ASSIGN(WebSocketResource); |
| 152 }; | 155 }; |
| 153 | 156 |
| 154 } // namespace proxy | 157 } // namespace proxy |
| 155 } // namespace ppapi | 158 } // namespace ppapi |
| 156 | 159 |
| 157 #endif // PPAPI_PROXY_WEBSOCKET_RESOURCE_H_ | 160 #endif // PPAPI_PROXY_WEBSOCKET_RESOURCE_H_ |
| OLD | NEW |