| 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_THUNK_WEBSOCKET_API_H_ | 5 #ifndef PPAPI_THUNK_WEBSOCKET_API_H_ |
| 6 #define PPAPI_THUNK_WEBSOCKET_API_H_ | 6 #define PPAPI_THUNK_WEBSOCKET_API_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 9 #include "ppapi/c/pp_completion_callback.h" | 11 #include "ppapi/c/pp_completion_callback.h" |
| 10 #include "ppapi/c/ppb_websocket.h" | 12 #include "ppapi/c/ppb_websocket.h" |
| 11 #include "ppapi/thunk/ppapi_thunk_export.h" | 13 #include "ppapi/thunk/ppapi_thunk_export.h" |
| 12 | 14 |
| 13 namespace ppapi { | 15 namespace ppapi { |
| 14 | 16 |
| 15 class TrackedCallback; | 17 class TrackedCallback; |
| 16 | 18 |
| 17 namespace thunk { | 19 namespace thunk { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 virtual PP_WebSocketReadyState GetReadyState() = 0; | 77 virtual PP_WebSocketReadyState GetReadyState() = 0; |
| 76 | 78 |
| 77 // Returns the url attribute of The WebSocket API. | 79 // Returns the url attribute of The WebSocket API. |
| 78 virtual PP_Var GetURL() = 0; | 80 virtual PP_Var GetURL() = 0; |
| 79 }; | 81 }; |
| 80 | 82 |
| 81 } // namespace thunk | 83 } // namespace thunk |
| 82 } // namespace ppapi | 84 } // namespace ppapi |
| 83 | 85 |
| 84 #endif // PPAPI_THUNK_WEBSOCKET_API_H_ | 86 #endif // PPAPI_THUNK_WEBSOCKET_API_H_ |
| OLD | NEW |