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

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

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 5 #ifndef NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
6 #define NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 6 #define NET_TEST_SPAWNED_TEST_SERVER_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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // and can be appropriately mocked out, so sending fake data here does not 194 // and can be appropriately mocked out, so sending fake data here does not
195 // affect handshaking behaviour. 195 // affect handshaking behaviour.
196 // TODO(ekasper): replace with valid SCT files for test certs. 196 // TODO(ekasper): replace with valid SCT files for test certs.
197 // (Fake) SignedCertificateTimestampList (as a raw binary string) to send in 197 // (Fake) SignedCertificateTimestampList (as a raw binary string) to send in
198 // a TLS extension. 198 // a TLS extension.
199 std::string signed_cert_timestamps_tls_ext; 199 std::string signed_cert_timestamps_tls_ext;
200 200
201 // Whether to staple the OCSP response. 201 // Whether to staple the OCSP response.
202 bool staple_ocsp_response; 202 bool staple_ocsp_response;
203 203
204 // Whether to make the OCSP server unavailable. This does not affect the
205 // stapled OCSP response.
206 bool ocsp_server_unavailable;
207
204 // Whether to enable NPN support. 208 // Whether to enable NPN support.
205 bool enable_npn; 209 bool enable_npn;
206 210
207 // Whether to disable TLS session caching. When session caching is 211 // Whether to disable TLS session caching. When session caching is
208 // disabled, the server will use an empty session ID in the 212 // disabled, the server will use an empty session ID in the
209 // ServerHello. 213 // ServerHello.
210 bool disable_session_cache; 214 bool disable_session_cache;
211 }; 215 };
212 216
213 // Pass as the 'host' parameter during construction to server on 127.0.0.1 217 // Pass as the 'host' parameter during construction to server on 127.0.0.1
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 bool ws_basic_auth_; 327 bool ws_basic_auth_;
324 328
325 scoped_ptr<ScopedPortException> allowed_port_; 329 scoped_ptr<ScopedPortException> allowed_port_;
326 330
327 DISALLOW_COPY_AND_ASSIGN(BaseTestServer); 331 DISALLOW_COPY_AND_ASSIGN(BaseTestServer);
328 }; 332 };
329 333
330 } // namespace net 334 } // namespace net
331 335
332 #endif // NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 336 #endif // NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
OLDNEW
« no previous file with comments | « net/test/embedded_test_server/http_request_unittest.cc ('k') | net/test/spawned_test_server/base_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698