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

Unified Diff: components/history/core/browser/typed_url_syncable_service.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/typed_url_syncable_service.cc
diff --git a/components/history/core/browser/typed_url_syncable_service.cc b/components/history/core/browser/typed_url_syncable_service.cc
index 1aaaeec5f656bd3ee120630373711807adb2330a..ffe3fe273e70378d0c839cbbd25b789b039571c3 100644
--- a/components/history/core/browser/typed_url_syncable_service.cc
+++ b/components/history/core/browser/typed_url_syncable_service.cc
@@ -4,6 +4,8 @@
#include "components/history/core/browser/typed_url_syncable_service.h"
+#include <stddef.h>
+
#include "base/auto_reset.h"
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
@@ -40,7 +42,7 @@ static const int kTypedUrlVisitThrottleMultiple = 10;
// Enforce oldest to newest visit order.
static bool CheckVisitOrdering(const VisitVector& visits) {
- int64 previous_visit_time = 0;
+ int64_t previous_visit_time = 0;
for (VisitVector::const_iterator visit = visits.begin();
visit != visits.end(); ++visit) {
if (visit != visits.begin()) {

Powered by Google App Engine
This is Rietveld 408576698