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

Unified Diff: sync/syncable/write_transaction_info.h

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_write_transaction.cc ('k') | sync/syncable/write_transaction_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/write_transaction_info.h
diff --git a/sync/syncable/write_transaction_info.h b/sync/syncable/write_transaction_info.h
index 0b571d20359367dfe504d3a2e17333bddfb107e3..dcf2ab414b308238a8da04290502f910485495d7 100644
--- a/sync/syncable/write_transaction_info.h
+++ b/sync/syncable/write_transaction_info.h
@@ -5,6 +5,9 @@
#ifndef SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
#define SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include "sync/syncable/entry_kernel.h"
@@ -15,7 +18,7 @@ namespace syncable {
// A struct describing the changes made during a transaction.
struct WriteTransactionInfo {
- WriteTransactionInfo(int64 id,
+ WriteTransactionInfo(int64_t id,
tracked_objects::Location location,
WriterTag writer,
ImmutableEntryKernelMutationMap mutations);
@@ -25,7 +28,7 @@ struct WriteTransactionInfo {
// Caller owns the return value.
base::DictionaryValue* ToValue(size_t max_mutations_size) const;
- int64 id;
+ int64_t id;
// If tracked_objects::Location becomes assignable, we can use that
// instead.
std::string location_string;
« no previous file with comments | « sync/syncable/syncable_write_transaction.cc ('k') | sync/syncable/write_transaction_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698