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

Unified Diff: net/quic/test_tools/quic_flow_controller_peer.h

Issue 761863002: Clean up type usage and fix MSVC "truncated value" warnings in net/quic/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More work Created 6 years, 1 month 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
Index: net/quic/test_tools/quic_flow_controller_peer.h
diff --git a/net/quic/test_tools/quic_flow_controller_peer.h b/net/quic/test_tools/quic_flow_controller_peer.h
index 213d40d6fa6a4893e4f2ce8c204b3f552e03fb5c..4270d96f1e3d11ccc753ac717d0992a99c2c93c4 100644
--- a/net/quic/test_tools/quic_flow_controller_peer.h
+++ b/net/quic/test_tools/quic_flow_controller_peer.h
@@ -16,21 +16,22 @@ namespace test {
class QuicFlowControllerPeer {
public:
static void SetSendWindowOffset(QuicFlowController* flow_controller,
- uint64 offset);
+ QuicStreamOffset offset);
static void SetReceiveWindowOffset(QuicFlowController* flow_controller,
- uint64 offset);
+ QuicStreamOffset offset);
static void SetMaxReceiveWindow(QuicFlowController* flow_controller,
- uint64 window_size);
+ QuicByteCount window_size);
- static uint64 SendWindowOffset(QuicFlowController* flow_controller);
+ static QuicStreamOffset SendWindowOffset(QuicFlowController* flow_controller);
- static uint64 SendWindowSize(QuicFlowController* flow_controller);
+ static QuicByteCount SendWindowSize(QuicFlowController* flow_controller);
- static uint64 ReceiveWindowOffset(QuicFlowController* flow_controller);
+ static QuicStreamOffset ReceiveWindowOffset(
+ QuicFlowController* flow_controller);
- static uint64 ReceiveWindowSize(QuicFlowController* flow_controller);
+ static QuicByteCount ReceiveWindowSize(QuicFlowController* flow_controller);
private:
DISALLOW_COPY_AND_ASSIGN(QuicFlowControllerPeer);

Powered by Google App Engine
This is Rietveld 408576698