Commit f338125d authored by Zhongyi Shi's avatar Zhongyi Shi Committed by Commit Bot

Remove obsolete methods in QuicStreamFactory.

Change-Id: I1962561658a57be3adfcd88368926dff90091fa8
Reviewed-on: https://chromium-review.googlesource.com/1176189Reviewed-by: default avatarRyan Hamilton <rch@chromium.org>
Commit-Queue: Ryan Hamilton <rch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583460}
parent c9ecd178
......@@ -1366,10 +1366,6 @@ void QuicChromiumClientSession::OnClosedStream() {
CreateOutgoingReliableStreamImpl(request->traffic_annotation())
->CreateHandle());
}
if (GetNumOpenOutgoingStreams() == 0 && stream_factory_) {
stream_factory_->OnIdleSession(this);
}
}
void QuicChromiumClientSession::OnConfigNegotiated() {
......
......@@ -1181,8 +1181,6 @@ void QuicStreamFactory::OnCertVerifyJobComplete(CertVerifierJob* job, int rv) {
active_cert_verifier_jobs_.erase(job->server_id());
}
void QuicStreamFactory::OnIdleSession(QuicChromiumClientSession* session) {}
void QuicStreamFactory::OnSessionGoingAway(QuicChromiumClientSession* session) {
const AliasSet& aliases = session_aliases_[session];
for (AliasSet::const_iterator it = aliases.begin(); it != aliases.end();
......
......@@ -278,17 +278,6 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
const NetLogWithSource& net_log,
QuicStreamRequest* request);
// Called when the handshake for |session| is confirmed. If QUIC is disabled
// currently disabled, then it closes the connection and returns true.
bool OnHandshakeConfirmed(QuicChromiumClientSession* session);
// Called when a TCP job completes for an origin that QUIC potentially
// could be used for.
void OnTcpJobCompleted(bool succeeded);
// Called by a session when it becomes idle.
void OnIdleSession(QuicChromiumClientSession* session);
// Called by a session when it is going away and no more streams should be
// created on it.
void OnSessionGoingAway(QuicChromiumClientSession* session);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment