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

Side by Side Diff: net/quic/quic_session.cc

Issue 18033005: Cleanup of OpenSSL/NSS implementation of ProofVerfifier release. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implemented wtc's comments Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_session.h ('k') | net/quic/test_tools/crypto_test_utils_chromium.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/quic/quic_session.h" 5 #include "net/quic/quic_session.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "net/quic/crypto/proof_verifier.h" 8 #include "net/quic/crypto/proof_verifier.h"
9 #include "net/quic/quic_connection.h" 9 #include "net/quic/quic_connection.h"
10 10
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 LOG(ERROR) << ENDPOINT << "Got unknown handshake event: " << event; 257 LOG(ERROR) << ENDPOINT << "Got unknown handshake event: " << event;
258 } 258 }
259 } 259 }
260 260
261 // TODO(rtenneti): Don't port proof_verifier code back to google3 until we have 261 // TODO(rtenneti): Don't port proof_verifier code back to google3 until we have
262 // a way to have single ProofVerifier that can handle multiple requests. 262 // a way to have single ProofVerifier that can handle multiple requests.
263 ProofVerifier* QuicSession::proof_verifier() const { 263 ProofVerifier* QuicSession::proof_verifier() const {
264 return proof_verifier_.get(); 264 return proof_verifier_.get();
265 } 265 }
266 266
267 void QuicSession::SetProofVerifier(ProofVerifier* verifier) { 267 void QuicSession::set_proof_verifier(ProofVerifier* verifier) {
268 proof_verifier_.reset(verifier); 268 proof_verifier_.reset(verifier);
269 } 269 }
270 270
271 QuicConfig* QuicSession::config() { 271 QuicConfig* QuicSession::config() {
272 return &config_; 272 return &config_;
273 } 273 }
274 274
275 void QuicSession::ActivateStream(ReliableQuicStream* stream) { 275 void QuicSession::ActivateStream(ReliableQuicStream* stream) {
276 DLOG(INFO) << ENDPOINT << "num_streams: " << stream_map_.size() 276 DLOG(INFO) << ENDPOINT << "num_streams: " << stream_map_.size()
277 << ". activating " << stream->id(); 277 << ". activating " << stream->id();
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 QuicStreamId stream_id) { 377 QuicStreamId stream_id) {
378 decompression_blocked_streams_[header_id] = stream_id; 378 decompression_blocked_streams_[header_id] = stream_id;
379 } 379 }
380 380
381 void QuicSession::PostProcessAfterData() { 381 void QuicSession::PostProcessAfterData() {
382 STLDeleteElements(&closed_streams_); 382 STLDeleteElements(&closed_streams_);
383 closed_streams_.clear(); 383 closed_streams_.clear();
384 } 384 }
385 385
386 } // namespace net 386 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_session.h ('k') | net/quic/test_tools/crypto_test_utils_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698