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

Unified Diff: net/tools/quic/test_tools/quic_test_client.h

Issue 1411063004: Remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enough! Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream_test.cc ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_client.h
diff --git a/net/tools/quic/test_tools/quic_test_client.h b/net/tools/quic/test_tools/quic_test_client.h
index ac3c05311dc6cc72f14b7310064616c474953637..0bf9baa66f2459e9feab0af6d8e6f6a63b7656f7 100644
--- a/net/tools/quic/test_tools/quic_test_client.h
+++ b/net/tools/quic/test_tools/quic_test_client.h
@@ -69,21 +69,14 @@ class QuicTestClient : public SimpleClient, public QuicSpdyStream::Visitor {
public:
QuicTestClient(IPEndPoint server_address,
const std::string& server_hostname,
- bool secure,
const QuicVersionVector& supported_versions);
QuicTestClient(IPEndPoint server_address,
const std::string& server_hostname,
- bool secure,
const QuicConfig& config,
const QuicVersionVector& supported_versions);
~QuicTestClient() override;
- // ExpectCertificates controls whether the server is expected to provide
- // certificates. The certificates, if any, are not verified, but the common
- // name is recorded and available with |cert_common_name()|.
- void ExpectCertificates(bool on);
-
// Sets the |user_agent_id| of the |client_|.
void SetUserAgentID(const std::string& user_agent_id);
@@ -192,7 +185,7 @@ class QuicTestClient : public SimpleClient, public QuicSpdyStream::Visitor {
protected:
QuicTestClient();
- void Initialize(bool secure);
+ void Initialize();
void set_client(MockableQuicClient* client) { client_.reset(client); }
@@ -239,7 +232,6 @@ class QuicTestClient : public SimpleClient, public QuicSpdyStream::Visitor {
int64 response_body_size_;
// True if we tried to connect already since the last call to Disconnect().
bool connect_attempted_;
- bool secure_;
// The client will auto-connect exactly once before sending data. If
// something causes a connection reset, it will not automatically reconnect
// unless auto_reconnect_ is true.
@@ -251,9 +243,6 @@ class QuicTestClient : public SimpleClient, public QuicSpdyStream::Visitor {
// When true allows the sending of a request to continue while the response is
// arriving.
bool allow_bidirectional_data_;
- // proof_verifier_ points to a RecordingProofVerifier that is owned by
- // client_.
- ProofVerifier* proof_verifier_;
DISALLOW_COPY_AND_ASSIGN(QuicTestClient);
};
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream_test.cc ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698