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

Side by Side Diff: net/test/base_test_server.h

Issue 10854139: Use HttpAuthController in SocketStream (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased and Skipped added browser test on chromeos Created 8 years, 3 months 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/socket_stream/socket_stream_unittest.cc ('k') | net/test/local_test_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 NET_TEST_BASE_TEST_SERVER_H_ 5 #ifndef NET_TEST_BASE_TEST_SERVER_H_
6 #define NET_TEST_BASE_TEST_SERVER_H_ 6 #define NET_TEST_BASE_TEST_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 13 matching lines...) Expand all
24 24
25 class AddressList; 25 class AddressList;
26 class ScopedPortException; 26 class ScopedPortException;
27 27
28 // The base class of Test server implementation. 28 // The base class of Test server implementation.
29 class BaseTestServer { 29 class BaseTestServer {
30 public: 30 public:
31 typedef std::pair<std::string, std::string> StringPair; 31 typedef std::pair<std::string, std::string> StringPair;
32 32
33 enum Type { 33 enum Type {
34 TYPE_BASIC_AUTH_PROXY,
34 TYPE_FTP, 35 TYPE_FTP,
35 TYPE_GDATA, 36 TYPE_GDATA,
36 TYPE_HTTP, 37 TYPE_HTTP,
37 TYPE_HTTPS, 38 TYPE_HTTPS,
38 TYPE_WS, 39 TYPE_WS,
39 TYPE_WSS, 40 TYPE_WSS,
40 TYPE_SYNC, 41 TYPE_SYNC,
41 TYPE_TCP_ECHO, 42 TYPE_TCP_ECHO,
42 TYPE_UDP_ECHO, 43 TYPE_UDP_ECHO,
43 }; 44 };
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 242
242 scoped_ptr<ScopedPortException> allowed_port_; 243 scoped_ptr<ScopedPortException> allowed_port_;
243 244
244 DISALLOW_COPY_AND_ASSIGN(BaseTestServer); 245 DISALLOW_COPY_AND_ASSIGN(BaseTestServer);
245 }; 246 };
246 247
247 } // namespace net 248 } // namespace net
248 249
249 #endif // NET_TEST_BASE_TEST_SERVER_H_ 250 #endif // NET_TEST_BASE_TEST_SERVER_H_
250 251
OLDNEW
« no previous file with comments | « net/socket_stream/socket_stream_unittest.cc ('k') | net/test/local_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698