Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: net/websockets/websocket_test_util.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/websockets/websocket_deflate_stream.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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;
18
19 namespace base {
20 class Timer;
21 } // namespace base
22
23 namespace url { 17 namespace url {
24 class Origin; 18 class Origin;
25 } // namespace url 19 } // namespace url
26 20
27 namespace net { 21 namespace net {
28 22
29 class MockClientSocketFactory; 23 class MockClientSocketFactory;
30 class NetLogWithSource;
31 class ProxyService; 24 class ProxyService;
32 class SequencedSocketData; 25 class SequencedSocketData;
33 struct SSLSocketDataProvider; 26 struct SSLSocketDataProvider;
34 class URLRequestContext;
35 27
36 class LinearCongruentialGenerator { 28 class LinearCongruentialGenerator {
37 public: 29 public:
38 explicit LinearCongruentialGenerator(uint32_t seed); 30 explicit LinearCongruentialGenerator(uint32_t seed);
39 uint32_t Generate(); 31 uint32_t Generate();
40 32
41 private: 33 private:
42 uint64_t current_; 34 uint64_t current_;
43 }; 35 };
44 36
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 TestNetworkDelegate network_delegate_; 132 TestNetworkDelegate network_delegate_;
141 std::unique_ptr<ProxyService> proxy_service_; 133 std::unique_ptr<ProxyService> proxy_service_;
142 bool url_request_context_initialized_; 134 bool url_request_context_initialized_;
143 135
144 DISALLOW_COPY_AND_ASSIGN(WebSocketTestURLRequestContextHost); 136 DISALLOW_COPY_AND_ASSIGN(WebSocketTestURLRequestContextHost);
145 }; 137 };
146 138
147 } // namespace net 139 } // namespace net
148 140
149 #endif // NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_ 141 #endif // NET_WEBSOCKETS_WEBSOCKET_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/websockets/websocket_deflate_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698