OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 NET_WEBSOCKETS_WEBSOCKET_STREAM_CREATE_TEST_BASE_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_STREAM_CREATE_TEST_BASE_H_ |
6 #define NET_WEBSOCKETS_WEBSOCKET_STREAM_CREATE_TEST_BASE_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_STREAM_CREATE_TEST_BASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
14 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
15 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
16 #include "net/socket/socket_test_util.h" | 17 #include "net/socket/socket_test_util.h" |
17 #include "net/ssl/ssl_info.h" | 18 #include "net/ssl/ssl_info.h" |
18 #include "net/websockets/websocket_event_interface.h" | 19 #include "net/websockets/websocket_event_interface.h" |
19 #include "net/websockets/websocket_test_util.h" | 20 #include "net/websockets/websocket_test_util.h" |
20 | 21 |
21 namespace net { | 22 namespace net { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 base::RunLoop connect_run_loop_; | 78 base::RunLoop connect_run_loop_; |
78 | 79 |
79 private: | 80 private: |
80 class TestConnectDelegate; | 81 class TestConnectDelegate; |
81 DISALLOW_COPY_AND_ASSIGN(WebSocketStreamCreateTestBase); | 82 DISALLOW_COPY_AND_ASSIGN(WebSocketStreamCreateTestBase); |
82 }; | 83 }; |
83 | 84 |
84 } // namespace net | 85 } // namespace net |
85 | 86 |
86 #endif // NET_WEBSOCKETS_WEBSOCKET_STREAM_CREATE_TEST_BASE_H_ | 87 #endif // NET_WEBSOCKETS_WEBSOCKET_STREAM_CREATE_TEST_BASE_H_ |
OLD | NEW |