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

Unified Diff: sync/api/sync_merge_result.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/api/sync_data_unittest.cc ('k') | sync/api/sync_merge_result.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/sync_merge_result.h
diff --git a/sync/api/sync_merge_result.h b/sync/api/sync_merge_result.h
index 712f4bd440a1308d572f44563ae036088dfb0e33..f164a4f619de0d40855952aa00b6f9bb76474938 100644
--- a/sync/api/sync_merge_result.h
+++ b/sync/api/sync_merge_result.h
@@ -5,6 +5,8 @@
#ifndef SYNC_API_SYNC_MERGE_RESULT_H_
#define SYNC_API_SYNC_MERGE_RESULT_H_
+#include <stdint.h>
+
#include "sync/api/sync_error.h"
#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/model_type.h"
@@ -34,7 +36,7 @@ class SYNC_EXPORT SyncMergeResult {
void set_num_items_added(int num_items_added);
void set_num_items_deleted(int num_items_deleted);
void set_num_items_modified(int num_items_modified);
- void set_pre_association_version(int64 version);
+ void set_pre_association_version(int64_t version);
// Getters.
ModelType model_type() const;
@@ -44,7 +46,7 @@ class SYNC_EXPORT SyncMergeResult {
int num_items_added() const;
int num_items_deleted() const;
int num_items_modified() const;
- int64 pre_association_version() const;
+ int64_t pre_association_version() const;
private:
// Make |this| into a copy of |other|.
@@ -70,7 +72,7 @@ class SYNC_EXPORT SyncMergeResult {
int num_items_modified_;
// Version of model before association.
- int64 pre_association_version_;
+ int64_t pre_association_version_;
};
} // namespace syncer
« no previous file with comments | « sync/api/sync_data_unittest.cc ('k') | sync/api/sync_merge_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698