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

Unified Diff: chrome/browser/android/history_report/delta_file_commons_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/android/history_report/delta_file_commons_unittest.cc
diff --git a/chrome/browser/android/history_report/delta_file_commons_unittest.cc b/chrome/browser/android/history_report/delta_file_commons_unittest.cc
index 11a6f207178fcbe94748327689872287030757e7..a593d3fd45c7c4d30247c9c9affaa3e77576757c 100644
--- a/chrome/browser/android/history_report/delta_file_commons_unittest.cc
+++ b/chrome/browser/android/history_report/delta_file_commons_unittest.cc
@@ -4,6 +4,9 @@
#include "chrome/browser/android/history_report/delta_file_commons.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "components/history/core/browser/history_types.h"
@@ -208,7 +211,8 @@ TEST_F(DeltaFileEntryWithDataTest, IdForLongUrl) {
std::stringstream expected_length_stream;
expected_length_stream << std::setfill('0') << std::setw(8)
- << base::Uint64ToString(static_cast<uint64>(url.str().size()));
+ << base::Uint64ToString(
+ static_cast<uint64_t>(url.str().size()));
std::string length = data.Id().substr(0, 8);
EXPECT_EQ(expected_length_stream.str(), length);

Powered by Google App Engine
This is Rietveld 408576698