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

Unified Diff: components/history/core/test/history_unittest_base.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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: components/history/core/test/history_unittest_base.cc
diff --git a/components/history/core/test/history_unittest_base.cc b/components/history/core/test/history_unittest_base.cc
index fd180346e59e73710008679c56fd6ab8a208377c..8b7f05c119bba6d83076a5c4b55470b06ed08b42 100644
--- a/components/history/core/test/history_unittest_base.cc
+++ b/components/history/core/test/history_unittest_base.cc
@@ -4,6 +4,8 @@
#include "components/history/core/test/history_unittest_base.h"
+#include <stdint.h>
+
#include <vector>
#include "base/files/file_util.h"
@@ -24,7 +26,7 @@ void HistoryUnitTestBase::ExecuteSQLScript(const base::FilePath& sql_path,
// Replace the 'last_visit_time', 'visit_time', 'time_slot' values in this
// SQL with the current time.
- int64 now = base::Time::Now().ToInternalValue();
+ int64_t now = base::Time::Now().ToInternalValue();
std::vector<std::string> sql_time;
sql_time.push_back(base::StringPrintf("%" PRId64, now)); // last_visit_time
sql_time.push_back(base::StringPrintf("%" PRId64, now)); // visit_time

Powered by Google App Engine
This is Rietveld 408576698