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

Unified Diff: net/tools/quic/quic_client_session.cc

Issue 612323013: QUIC - (no behavior change) s/NULL/nullptr/g in .../quic/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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_client.cc ('k') | net/tools/quic/quic_client_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client_session.cc
diff --git a/net/tools/quic/quic_client_session.cc b/net/tools/quic/quic_client_session.cc
index 0e7a7a25ce0eadc303f73b0c3e25a56ca7b6d0c5..db885dc079437e1babb75268657173de9a505476 100644
--- a/net/tools/quic/quic_client_session.cc
+++ b/net/tools/quic/quic_client_session.cc
@@ -27,7 +27,7 @@ void QuicClientSession::InitializeSession(
QuicCryptoClientConfig* crypto_config) {
QuicClientSessionBase::InitializeSession();
crypto_stream_.reset(
- new QuicCryptoClientStream(server_id, this, NULL, crypto_config));
+ new QuicCryptoClientStream(server_id, this, nullptr, crypto_config));
}
void QuicClientSession::OnProofValid(
@@ -41,17 +41,17 @@ void QuicClientSession::OnProofVerifyDetailsAvailable(
QuicSpdyClientStream* QuicClientSession::CreateOutgoingDataStream() {
if (!crypto_stream_->encryption_established()) {
DVLOG(1) << "Encryption not active so no outgoing stream created.";
- return NULL;
+ return nullptr;
}
if (GetNumOpenStreams() >= get_max_open_streams()) {
DVLOG(1) << "Failed to create a new outgoing stream. "
<< "Already " << GetNumOpenStreams() << " open.";
- return NULL;
+ return nullptr;
}
if (goaway_received()) {
DVLOG(1) << "Failed to create a new outgoing stream. "
<< "Already received goaway.";
- return NULL;
+ return nullptr;
}
QuicSpdyClientStream* stream
= new QuicSpdyClientStream(GetNextStreamId(), this);
@@ -75,7 +75,7 @@ int QuicClientSession::GetNumSentClientHellos() const {
QuicDataStream* QuicClientSession::CreateIncomingDataStream(
QuicStreamId id) {
DLOG(ERROR) << "Server push not supported";
- return NULL;
+ return nullptr;
}
} // namespace tools
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_client_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698