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

Unified Diff: components/history/core/browser/android/visit_sql_handler.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/browser/android/visit_sql_handler.cc
diff --git a/components/history/core/browser/android/visit_sql_handler.cc b/components/history/core/browser/android/visit_sql_handler.cc
index 2ad85d31585eec21f93e50d8265a18b170ccba14..97222dd43393d5eb3fce6c5cf2f40147b3d72e1c 100644
--- a/components/history/core/browser/android/visit_sql_handler.cc
+++ b/components/history/core/browser/android/visit_sql_handler.cc
@@ -4,7 +4,10 @@
#include "components/history/core/browser/android/visit_sql_handler.h"
+#include <stdint.h>
+
#include "base/logging.h"
+#include "base/macros.h"
#include "components/history/core/browser/url_database.h"
#include "components/history/core/browser/visit_database.h"
@@ -125,7 +128,7 @@ bool VisitSQLHandler::AddVisit(URLID url_id, const Time& visit_time) {
bool VisitSQLHandler::AddVisitRows(URLID url_id,
int visit_count,
const Time& last_visit_time) {
- int64 last_update_value = last_visit_time.ToInternalValue();
+ int64_t last_update_value = last_visit_time.ToInternalValue();
for (int i = 0; i < visit_count; i++) {
if (!AddVisit(url_id, Time::FromInternalValue(last_update_value - i)))
return false;

Powered by Google App Engine
This is Rietveld 408576698