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

Unified Diff: net/quic/reliable_quic_stream.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_utils.cc ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/reliable_quic_stream.h
diff --git a/net/quic/reliable_quic_stream.h b/net/quic/reliable_quic_stream.h
index 24bc34988320bc3c153cd61213d06347365b6395..698fefb474922ed18c9eff7813b0f5f1c376ba36 100644
--- a/net/quic/reliable_quic_stream.h
+++ b/net/quic/reliable_quic_stream.h
@@ -103,17 +103,17 @@ class NET_EXPORT_PRIVATE ReliableQuicStream {
// Called when we see a frame which could increase the highest offset.
// Returns true if the highest offset did increase.
- bool MaybeIncreaseHighestReceivedOffset(uint64 new_offset);
+ bool MaybeIncreaseHighestReceivedOffset(QuicStreamOffset new_offset);
// Called when bytese are sent to the peer.
- void AddBytesSent(uint64 bytes);
+ void AddBytesSent(QuicByteCount bytes);
// Called by the stream sequencer as bytes are consumed from the buffer.
// If our receive window has dropped below the threshold, then send a
// WINDOW_UPDATE frame.
- void AddBytesConsumed(uint64 bytes);
+ void AddBytesConsumed(QuicByteCount bytes);
// Updates the flow controller's send window offset and calls OnCanWrite if
// it was blocked before.
- void UpdateSendWindowOffset(uint64 new_offset);
+ void UpdateSendWindowOffset(QuicStreamOffset new_offset);
// Returns true if the stream is flow control blocked, by the stream flow
// control window or the connection flow control window.
« no previous file with comments | « net/quic/quic_utils.cc ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698