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

Unified Diff: sync/syncable/syncable_util.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_util.h ('k') | sync/syncable/syncable_write_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/syncable_util.cc
diff --git a/sync/syncable/syncable_util.cc b/sync/syncable/syncable_util.cc
index 89d1375e632af2720ec78e530dec53175cae4ecc..e1271bf0b602cc69e53be9dc9e7340f2bc6da45a 100644
--- a/sync/syncable/syncable_util.cc
+++ b/sync/syncable/syncable_util.cc
@@ -4,6 +4,8 @@
#include "sync/syncable/syncable_util.h"
+#include <stdint.h>
+
#include "base/base64.h"
#include "base/location.h"
#include "base/logging.h"
@@ -18,8 +20,7 @@ namespace syncer {
namespace syncable {
// Returns the number of unsynced entries.
-int GetUnsyncedEntries(BaseTransaction* trans,
- std::vector<int64> *handles) {
+int GetUnsyncedEntries(BaseTransaction* trans, std::vector<int64_t>* handles) {
trans->directory()->GetUnsyncedMetaHandles(trans, handles);
DVLOG_IF(1, !handles->empty()) << "Have " << handles->size()
<< " unsynced items.";
« no previous file with comments | « sync/syncable/syncable_util.h ('k') | sync/syncable/syncable_write_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698