| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TEST_UTIL_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_ |
| 6 #define NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "net/url_request/url_request_test_util.h" | 14 #include "net/url_request/url_request_test_util.h" |
| 15 #include "net/websockets/websocket_stream.h" | 15 #include "net/websockets/websocket_stream.h" |
| 16 | 16 |
| 17 class GURL; | 17 class GURL; |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class Timer; | 20 class Timer; |
| 21 } // namespace base | 21 } // namespace base |
| 22 | 22 |
| 23 namespace url { | 23 namespace url { |
| 24 class Origin; | 24 class Origin; |
| 25 } // namespace url | 25 } // namespace url |
| 26 | 26 |
| 27 namespace net { | 27 namespace net { |
| 28 | 28 |
| 29 class BoundNetLog; | 29 class NetLogWithSource; |
| 30 class MockClientSocketFactory; | 30 class MockClientSocketFactory; |
| 31 class ProxyService; | 31 class ProxyService; |
| 32 class SequencedSocketData; | 32 class SequencedSocketData; |
| 33 struct SSLSocketDataProvider; | 33 struct SSLSocketDataProvider; |
| 34 class URLRequestContext; | 34 class URLRequestContext; |
| 35 | 35 |
| 36 class LinearCongruentialGenerator { | 36 class LinearCongruentialGenerator { |
| 37 public: | 37 public: |
| 38 explicit LinearCongruentialGenerator(uint32_t seed); | 38 explicit LinearCongruentialGenerator(uint32_t seed); |
| 39 uint32_t Generate(); | 39 uint32_t Generate(); |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 TestNetworkDelegate network_delegate_; | 140 TestNetworkDelegate network_delegate_; |
| 141 std::unique_ptr<ProxyService> proxy_service_; | 141 std::unique_ptr<ProxyService> proxy_service_; |
| 142 bool url_request_context_initialized_; | 142 bool url_request_context_initialized_; |
| 143 | 143 |
| 144 DISALLOW_COPY_AND_ASSIGN(WebSocketTestURLRequestContextHost); | 144 DISALLOW_COPY_AND_ASSIGN(WebSocketTestURLRequestContextHost); |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 } // namespace net | 147 } // namespace net |
| 148 | 148 |
| 149 #endif // NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_ | 149 #endif // NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_ |
| OLD | NEW |