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

Unified Diff: chrome/browser/android/history_report/history_report_jni_bridge.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/history_report_jni_bridge.cc
diff --git a/chrome/browser/android/history_report/history_report_jni_bridge.cc b/chrome/browser/android/history_report/history_report_jni_bridge.cc
index ef37ce40cdbf6b1109c2b6248fd62c3ba8b2ff2a..86d245650b2d22f32455883cae06225e6184f78c 100644
--- a/chrome/browser/android/history_report/history_report_jni_bridge.cc
+++ b/chrome/browser/android/history_report/history_report_jni_bridge.cc
@@ -3,6 +3,10 @@
// found in the LICENSE file.
#include "chrome/browser/android/history_report/history_report_jni_bridge.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
#include <vector>
#include "base/android/jni_array.h"
@@ -89,7 +93,7 @@ base::android::ScopedJavaLocalRef<jobjectArray> HistoryReportJniBridge::Query(
history_report::Java_HistoryReportJniBridge_createDeltaFileEntriesArray(
env, entries->size());
- int64 max_seq_no = 0;
+ int64_t max_seq_no = 0;
for (size_t i = 0; i < entries->size(); ++i) {
const DeltaFileEntryWithData& entry = (*entries)[i];
max_seq_no = max_seq_no < entry.SeqNo() ? entry.SeqNo() : max_seq_no;

Powered by Google App Engine
This is Rietveld 408576698