| 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_TESTS_TEST_WEBSOCKET_H_ | 5 #ifndef PPAPI_TESTS_TEST_WEBSOCKET_H_ |
| 6 #define PPAPI_TESTS_TEST_WEBSOCKET_H_ | 6 #define PPAPI_TESTS_TEST_WEBSOCKET_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "ppapi/c/ppb_core.h" | 13 #include "ppapi/c/ppb_core.h" |
| 12 #include "ppapi/c/ppb_var.h" | 14 #include "ppapi/c/ppb_var.h" |
| 13 #include "ppapi/c/ppb_var_array_buffer.h" | 15 #include "ppapi/c/ppb_var_array_buffer.h" |
| 14 #include "ppapi/c/ppb_websocket.h" | 16 #include "ppapi/c/ppb_websocket.h" |
| 15 #include "ppapi/tests/test_case.h" | 17 #include "ppapi/tests/test_case.h" |
| 16 | 18 |
| 17 class TestWebSocket : public TestCase { | 19 class TestWebSocket : public TestCase { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 74 |
| 73 // Keeps Pepper API interfaces. These are used by the tests that access the C | 75 // Keeps Pepper API interfaces. These are used by the tests that access the C |
| 74 // API directly. | 76 // API directly. |
| 75 const PPB_WebSocket* websocket_interface_; | 77 const PPB_WebSocket* websocket_interface_; |
| 76 const PPB_Var* var_interface_; | 78 const PPB_Var* var_interface_; |
| 77 const PPB_VarArrayBuffer* arraybuffer_interface_; | 79 const PPB_VarArrayBuffer* arraybuffer_interface_; |
| 78 const PPB_Core* core_interface_; | 80 const PPB_Core* core_interface_; |
| 79 }; | 81 }; |
| 80 | 82 |
| 81 #endif // PPAPI_TESTS_TEST_WEBSOCKET_H_ | 83 #endif // PPAPI_TESTS_TEST_WEBSOCKET_H_ |
| OLD | NEW |