Rename functions with same names as generator in QUIC creator. This is preparation for combining creator and generator. Not protected.

gfe-relnote: n/a (functions renaming only)
PiperOrigin-RevId: 269341659
Change-Id: I9dbafc0f093ee88f4769e1d407445a2b4268b8df
diff --git a/quic/core/quic_packet_creator.h b/quic/core/quic_packet_creator.h
index 9f00842..a3f6c00 100644
--- a/quic/core/quic_packet_creator.h
+++ b/quic/core/quic_packet_creator.h
@@ -103,22 +103,22 @@
   // full.
   // If current packet is not full, creates a stream frame that fits into the
   // open packet and adds it to the packet.
-  bool ConsumeData(QuicStreamId id,
-                   size_t data_length,
-                   QuicStreamOffset offset,
-                   bool fin,
-                   bool needs_full_padding,
-                   TransmissionType transmission_type,
-                   QuicFrame* frame);
+  bool ConsumeDataToFillCurrentPacket(QuicStreamId id,
+                                      size_t data_size,
+                                      QuicStreamOffset offset,
+                                      bool fin,
+                                      bool needs_full_padding,
+                                      TransmissionType transmission_type,
+                                      QuicFrame* frame);
 
   // Creates a CRYPTO frame that fits into the current packet (which must be
   // empty) and adds it to the packet.
-  bool ConsumeCryptoData(EncryptionLevel level,
-                         size_t write_length,
-                         QuicStreamOffset offset,
-                         bool needs_full_padding,
-                         TransmissionType transmission_type,
-                         QuicFrame* frame);
+  bool ConsumeCryptoDataToFillCurrentPacket(EncryptionLevel level,
+                                            size_t write_length,
+                                            QuicStreamOffset offset,
+                                            bool needs_full_padding,
+                                            TransmissionType transmission_type,
+                                            QuicFrame* frame);
 
   // Returns true if current open packet can accommodate more stream frames of
   // stream |id| at |offset| and data length |data_size|, false otherwise.
@@ -138,7 +138,7 @@
 
   // Serializes all added frames into a single packet and invokes the delegate_
   // to further process the SerializedPacket.
-  void Flush();
+  void FlushCurrentPacket();
 
   // Optimized method to create a QuicStreamFrame and serialize it. Adds the
   // QuicStreamFrame to the returned SerializedPacket.  Sets
@@ -269,7 +269,7 @@
   void AddPendingPadding(QuicByteCount size);
 
   // Sets transmission type of next constructed packets.
-  void SetTransmissionType(TransmissionType type);
+  void SetTransmissionTypeOfNextPackets(TransmissionType type);
 
   // Sets the retry token to be sent over the wire in IETF Initial packets.
   void SetRetryToken(QuicStringPiece retry_token);