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

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

Issue 8857002: net: split the SSL session cache between incognito and normal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TEST_SERVER_H_ 5 #ifndef NET_TEST_TEST_SERVER_H_
6 #define NET_TEST_TEST_SERVER_H_ 6 #define NET_TEST_TEST_SERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // If |request_client_certificate| is true, an optional list of files, 96 // If |request_client_certificate| is true, an optional list of files,
97 // each containing a single, PEM-encoded X.509 certificates. The subject 97 // each containing a single, PEM-encoded X.509 certificates. The subject
98 // from each certificate will be added to the certificate_authorities 98 // from each certificate will be added to the certificate_authorities
99 // field of the CertificateRequest. 99 // field of the CertificateRequest.
100 std::vector<FilePath> client_authorities; 100 std::vector<FilePath> client_authorities;
101 101
102 // A bitwise-OR of BulkCipher that should be used by the 102 // A bitwise-OR of BulkCipher that should be used by the
103 // HTTPS server, or BULK_CIPHER_ANY to indicate that all implemented 103 // HTTPS server, or BULK_CIPHER_ANY to indicate that all implemented
104 // ciphers are acceptable. 104 // ciphers are acceptable.
105 int bulk_ciphers; 105 int bulk_ciphers;
106
107 // If true, pass the --https-record-resume argument to testserver.py which
108 // causes it to log session cache actions and echo the log on
109 // /session-cache.
wtc 2011/12/10 01:22:37 /session-cache => /ssl-session-cache
agl 2011/12/12 22:18:20 Done.
110 bool record_resume;
106 }; 111 };
107 112
108 TestServer(Type type, const FilePath& document_root); 113 TestServer(Type type, const FilePath& document_root);
109 114
110 // Initialize a HTTPS TestServer with a specific set of HTTPSOptions. 115 // Initialize a HTTPS TestServer with a specific set of HTTPSOptions.
111 TestServer(const HTTPSOptions& https_options, 116 TestServer(const HTTPSOptions& https_options,
112 const FilePath& document_root); 117 const FilePath& document_root);
113 118
114 ~TestServer(); 119 ~TestServer();
115 120
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 213
209 // Enables logging of the server to the console. 214 // Enables logging of the server to the console.
210 bool log_to_console_; 215 bool log_to_console_;
211 216
212 DISALLOW_COPY_AND_ASSIGN(TestServer); 217 DISALLOW_COPY_AND_ASSIGN(TestServer);
213 }; 218 };
214 219
215 } // namespace net 220 } // namespace net
216 221
217 #endif // NET_TEST_TEST_SERVER_H_ 222 #endif // NET_TEST_TEST_SERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698