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

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

Issue 11971025: [sync] Divorce python sync test server chromiumsync.py from testserver.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « net/net.gyp ('k') | net/test/base_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 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_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>
11 11
(...skipping 20 matching lines...) Expand all
32 32
33 // Following types represent protocol schemes. See also 33 // Following types represent protocol schemes. See also
34 // http://www.iana.org/assignments/uri-schemes.html 34 // http://www.iana.org/assignments/uri-schemes.html
35 enum Type { 35 enum Type {
36 TYPE_BASIC_AUTH_PROXY, 36 TYPE_BASIC_AUTH_PROXY,
37 TYPE_FTP, 37 TYPE_FTP,
38 TYPE_HTTP, 38 TYPE_HTTP,
39 TYPE_HTTPS, 39 TYPE_HTTPS,
40 TYPE_WS, 40 TYPE_WS,
41 TYPE_WSS, 41 TYPE_WSS,
42 TYPE_SYNC,
43 TYPE_TCP_ECHO, 42 TYPE_TCP_ECHO,
44 TYPE_UDP_ECHO, 43 TYPE_UDP_ECHO,
45 }; 44 };
46 45
47 // Container for various options to control how the HTTPS or WSS server is 46 // Container for various options to control how the HTTPS or WSS server is
48 // initialized. 47 // initialized.
49 struct SSLOptions { 48 struct SSLOptions {
50 enum ServerCertificate { 49 enum ServerCertificate {
51 CERT_OK, 50 CERT_OK,
52 51
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 250
252 scoped_ptr<ScopedPortException> allowed_port_; 251 scoped_ptr<ScopedPortException> allowed_port_;
253 252
254 DISALLOW_COPY_AND_ASSIGN(BaseTestServer); 253 DISALLOW_COPY_AND_ASSIGN(BaseTestServer);
255 }; 254 };
256 255
257 } // namespace net 256 } // namespace net
258 257
259 #endif // NET_TEST_BASE_TEST_SERVER_H_ 258 #endif // NET_TEST_BASE_TEST_SERVER_H_
260 259
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/test/base_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698