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

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

Issue 1397983007: relnote: remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rch_insecure_quic
Patch Set: Compile fix 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 c438197bddb50e79594b178334c74e762d4452db..c11fafc97620d7e4fb0370621827c4d8e564edf0 100644
--- a/net/tools/quic/test_tools/quic_test_client.h
+++ b/net/tools/quic/test_tools/quic_test_client.h
@@ -70,21 +70,14 @@ class QuicTestClient : public SimpleClient,
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);
@@ -187,7 +180,7 @@ class QuicTestClient : public SimpleClient,
protected:
QuicTestClient();
- void Initialize(bool secure);
+ void Initialize();
void set_client(MockableQuicClient* client) { client_.reset(client); }
@@ -234,7 +227,6 @@ class QuicTestClient : public SimpleClient,
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.
@@ -243,9 +235,6 @@ class QuicTestClient : public SimpleClient,
bool buffer_body_;
// FEC policy for data sent by this client.
FecPolicy fec_policy_;
- // 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