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

Unified Diff: net/quic/congestion_control/cubic_bytes.cc

Issue 1160203003: net: Remove the remaining use of GG_(U)INTn_C macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stdint.h Created 5 years, 7 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/congestion_control/cubic.cc ('k') | net/quic/crypto/common_cert_set_1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/cubic_bytes.cc
diff --git a/net/quic/congestion_control/cubic_bytes.cc b/net/quic/congestion_control/cubic_bytes.cc
index b5af3d1219c432c5b4b91712d434778b0fc77229..40259ceae614c0b79b92b46946b30fae1b30663a 100644
--- a/net/quic/congestion_control/cubic_bytes.cc
+++ b/net/quic/congestion_control/cubic_bytes.cc
@@ -4,6 +4,7 @@
#include "net/quic/congestion_control/cubic_bytes.h"
+#include <stdint.h>
#include <algorithm>
#include <cmath>
@@ -26,7 +27,7 @@ const int kCubeScale = 40; // 1024*1024^3 (first 1024 is from 0.100^3)
// round trip time.
const int kCubeCongestionWindowScale = 410;
// The cube factor for packets in bytes.
-const uint64 kCubeFactor = (GG_UINT64_C(1) << kCubeScale) /
+const uint64 kCubeFactor = (UINT64_C(1) << kCubeScale) /
kCubeCongestionWindowScale / kDefaultTCPMSS;
const uint32 kDefaultNumConnections = 2;
« no previous file with comments | « net/quic/congestion_control/cubic.cc ('k') | net/quic/crypto/common_cert_set_1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698