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 #include <string> | 10 #include <string> |
10 | 11 |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "net/url_request/url_request_test_util.h" | 14 #include "net/url_request/url_request_test_util.h" |
14 #include "net/websockets/websocket_stream.h" | 15 #include "net/websockets/websocket_stream.h" |
15 | 16 |
16 class GURL; | 17 class GURL; |
17 | 18 |
18 namespace base { | 19 namespace base { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 TestNetworkDelegate network_delegate_; | 137 TestNetworkDelegate network_delegate_; |
137 scoped_ptr<ProxyService> proxy_service_; | 138 scoped_ptr<ProxyService> proxy_service_; |
138 bool url_request_context_initialized_; | 139 bool url_request_context_initialized_; |
139 | 140 |
140 DISALLOW_COPY_AND_ASSIGN(WebSocketTestURLRequestContextHost); | 141 DISALLOW_COPY_AND_ASSIGN(WebSocketTestURLRequestContextHost); |
141 }; | 142 }; |
142 | 143 |
143 } // namespace net | 144 } // namespace net |
144 | 145 |
145 #endif // NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_ | 146 #endif // NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_ |
OLD | NEW |