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

Unified Diff: sync/internal_api/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/internal_api/debug_info_event_listener.cc ('k') | sync/internal_api/events/commit_request_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/delete_journal.cc
diff --git a/sync/internal_api/delete_journal.cc b/sync/internal_api/delete_journal.cc
index 5db096323530d1ff0795b37a93e30097ff18e30a..6b8d955b2bf908d64f3297160e2f7060d25574bc 100644
--- a/sync/internal_api/delete_journal.cc
+++ b/sync/internal_api/delete_journal.cc
@@ -4,6 +4,8 @@
#include "sync/internal_api/public/delete_journal.h"
+#include <stdint.h>
+
#include <set>
#include <string>
@@ -19,7 +21,7 @@ void DeleteJournal::GetBookmarkDeleteJournals(
syncer::syncable::EntryKernelSet deleted_entries;
trans->GetDirectory()->delete_journal()->GetDeleteJournals(
trans->GetWrappedTrans(), BOOKMARKS, &deleted_entries);
- std::set<int64> undecryptable_journal;
+ std::set<int64_t> undecryptable_journal;
for (syncer::syncable::EntryKernelSet::const_iterator i =
deleted_entries.begin(); i != deleted_entries.end(); ++i) {
delete_journal_list->push_back(BookmarkDeleteJournal());
@@ -55,7 +57,7 @@ void DeleteJournal::GetBookmarkDeleteJournals(
// static
void DeleteJournal::PurgeDeleteJournals(BaseTransaction* trans,
- const std::set<int64>& ids) {
+ const std::set<int64_t>& ids) {
trans->GetDirectory()->delete_journal()->PurgeDeleteJournals(
trans->GetWrappedTrans(), ids);
}
« no previous file with comments | « sync/internal_api/debug_info_event_listener.cc ('k') | sync/internal_api/events/commit_request_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698