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

Unified Diff: net/disk_cache/blockfile/index_table_v3_unittest.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/disk_cache/backend_unittest.cc ('k') | net/disk_cache/blockfile/sparse_control.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/blockfile/index_table_v3_unittest.cc
diff --git a/net/disk_cache/blockfile/index_table_v3_unittest.cc b/net/disk_cache/blockfile/index_table_v3_unittest.cc
index ee489517783ebf3f21cb8c5033f6633672a10f5a..237b983ca6123bb89a4d567f2fb575f20b892d6a 100644
--- a/net/disk_cache/blockfile/index_table_v3_unittest.cc
+++ b/net/disk_cache/blockfile/index_table_v3_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
+
#include "base/basictypes.h"
#include "base/logging.h"
#include "net/disk_cache/blockfile/addr.h"
@@ -226,22 +228,22 @@ TEST(DiskCacheIndexTable, EntryCellSum) {
source.last_part = 0;
EXPECT_EQ(1, GetChecksum(source));
- source.first_part = GG_UINT64_C(0x8000000080000000);
+ source.first_part = UINT64_C(0x8000000080000000);
EXPECT_EQ(0, GetChecksum(source));
- source.first_part = GG_UINT64_C(0x4000000040000000);
+ source.first_part = UINT64_C(0x4000000040000000);
EXPECT_EQ(2, GetChecksum(source));
- source.first_part = GG_UINT64_C(0x200000020000000);
+ source.first_part = UINT64_C(0x200000020000000);
EXPECT_EQ(1, GetChecksum(source));
- source.first_part = GG_UINT64_C(0x100000010010000);
+ source.first_part = UINT64_C(0x100000010010000);
EXPECT_EQ(3, GetChecksum(source));
source.first_part = 0x80008000;
EXPECT_EQ(0, GetChecksum(source));
- source.first_part = GG_UINT64_C(0x800000008000);
+ source.first_part = UINT64_C(0x800000008000);
EXPECT_EQ(1, GetChecksum(source));
source.first_part = 0x8080;
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/disk_cache/blockfile/sparse_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698