| 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_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ | 5 #ifndef PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ |
| 6 #define PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ | 6 #define PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "ppapi/c/ppb_websocket.h" | 10 #include "ppapi/c/ppb_websocket.h" |
| 9 | 11 |
| 10 /// @file | 12 /// @file |
| 11 /// This file defines the WebSocketAPI interface. | 13 /// This file defines the WebSocketAPI interface. |
| 12 | 14 |
| 13 namespace pp { | 15 namespace pp { |
| 14 | 16 |
| 15 class CompletionCallback; | 17 class CompletionCallback; |
| 16 class Instance; | 18 class Instance; |
| 17 class Var; | 19 class Var; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 virtual void HandleWebSocketError() = 0; | 123 virtual void HandleWebSocketError() = 0; |
| 122 | 124 |
| 123 private: | 125 private: |
| 124 class Implement; | 126 class Implement; |
| 125 Implement* impl_; | 127 Implement* impl_; |
| 126 }; | 128 }; |
| 127 | 129 |
| 128 } // namespace pp | 130 } // namespace pp |
| 129 | 131 |
| 130 #endif // PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ | 132 #endif // PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ |
| OLD | NEW |