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

Unified Diff: net/quic/quic_packet_creator.h

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/quic/quic_network_transaction_unittest.cc ('k') | net/quic/quic_packet_creator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator.h
diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h
index ef466c8ebcbd3b009c7d566039811c2c525b977c..313632e4b2bba78831b524016220e95ddb433e4c 100644
--- a/net/quic/quic_packet_creator.h
+++ b/net/quic/quic_packet_creator.h
@@ -125,7 +125,7 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface {
// Returns true if subsequent packets will be FEC protected. Note: True does
// not mean that an FEC packet is currently under construction; i.e.,
- // fec_group_.get() may still be NULL, until MaybeStartFec() is called.
+ // fec_group_.get() may still be nullptr, until MaybeStartFec() is called.
bool IsFecProtected() const;
// Returns the number of bytes which are available to be used by additional
@@ -155,11 +155,11 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface {
bool AddSavedFrame(const QuicFrame& frame);
// Serializes all frames which have been added and adds any which should be
- // retransmitted to |retransmittable_frames| if it's not NULL. All frames must
- // fit into a single packet. Sets the entropy hash of the serialized
+ // retransmitted to |retransmittable_frames| if it's not nullptr. All frames
+ // must fit into a single packet. Sets the entropy hash of the serialized
// packet to a random bool and returns that value as a member of
- // SerializedPacket. Also, sets |serialized_frames| in the SerializedPacket
- // to the corresponding RetransmittableFrames if any frames are to be
+ // SerializedPacket. Also, sets |serialized_frames| in the SerializedPacket to
+ // the corresponding RetransmittableFrames if any frames are to be
// retransmitted.
SerializedPacket SerializePacket();
@@ -214,7 +214,7 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface {
void set_max_packet_length(size_t length) {
// |max_packet_length_| should not be changed mid-packet or mid-FEC group.
- DCHECK(fec_group_.get() == NULL && queued_frames_.empty());
+ DCHECK(fec_group_.get() == nullptr && queued_frames_.empty());
max_packet_length_ = length;
}
« no previous file with comments | « net/quic/quic_network_transaction_unittest.cc ('k') | net/quic/quic_packet_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698