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

Unified Diff: net/quic/crypto/common_cert_set_test.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/crypto/common_cert_set_1.c ('k') | net/quic/crypto/null_decrypter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/common_cert_set_test.cc
diff --git a/net/quic/crypto/common_cert_set_test.cc b/net/quic/crypto/common_cert_set_test.cc
index ad81ec4955e303f85d2ec917061e66e878c80121..09b06d18eb59d4c96839599f71d69c187857b047 100644
--- a/net/quic/crypto/common_cert_set_test.cc
+++ b/net/quic/crypto/common_cert_set_test.cc
@@ -4,6 +4,8 @@
#include "net/quic/crypto/common_cert_set.h"
+#include <stdint.h>
+
#include "testing/gtest/include/gtest/gtest.h"
using base::StringPiece;
@@ -104,7 +106,7 @@ TEST(CommonCertSets, FindGIA_1) {
sizeof(kGIACertificate1));
const CommonCertSets* sets(CommonCertSets::GetInstanceQUIC());
- const uint64 in_hash = GG_UINT64_C(0xff715ce4e7e9267b);
+ const uint64 in_hash = UINT64_C(0xff715ce4e7e9267b);
uint64 hash;
uint32 index;
ASSERT_TRUE(sets->MatchCert(
@@ -122,7 +124,7 @@ TEST(CommonCertSets, FindGIA_1) {
TEST(CommonCertSets, NonMatch) {
const CommonCertSets* sets(CommonCertSets::GetInstanceQUIC());
StringPiece not_a_cert("hello");
- const uint64 in_hash = GG_UINT64_C(0xc9fef74053f99f39);
+ const uint64 in_hash = UINT64_C(0xc9fef74053f99f39);
uint64 hash;
uint32 index;
EXPECT_FALSE(sets->MatchCert(
« no previous file with comments | « net/quic/crypto/common_cert_set_1.c ('k') | net/quic/crypto/null_decrypter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698