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

Unified Diff: sync/syncable/syncable_delete_journal.cc

Issue 1545553003: Switch to standard integer types in sync/. (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
« no previous file with comments | « sync/syncable/syncable_delete_journal.h ('k') | sync/syncable/syncable_enum_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/syncable_delete_journal.cc
diff --git a/sync/syncable/syncable_delete_journal.cc b/sync/syncable/syncable_delete_journal.cc
index 0aa04fa69d2ae568f226d87e90ce8a8fa51e0434..923b065d333e07f3be082a9ad2d4a8fe52dd1f21 100644
--- a/sync/syncable/syncable_delete_journal.cc
+++ b/sync/syncable/syncable_delete_journal.cc
@@ -4,6 +4,9 @@
#include "sync/syncable/syncable_delete_journal.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/stl_util.h"
#include "sync/internal_api/public/base/model_type.h"
@@ -83,7 +86,7 @@ void DeleteJournal::PurgeDeleteJournals(BaseTransaction* trans,
DCHECK(trans);
JournalIndex::iterator it = delete_journals_.begin();
while (it != delete_journals_.end()) {
- int64 handle = (*it)->ref(META_HANDLE);
+ int64_t handle = (*it)->ref(META_HANDLE);
if (to_purge.count(handle)) {
delete *it;
delete_journals_.erase(it++);
« no previous file with comments | « sync/syncable/syncable_delete_journal.h ('k') | sync/syncable/syncable_enum_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698