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

Unified Diff: components/sync_driver/glue/sync_backend_host_core.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (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
Index: components/sync_driver/glue/sync_backend_host_core.h
diff --git a/components/sync_driver/glue/sync_backend_host_core.h b/components/sync_driver/glue/sync_backend_host_core.h
index 9fcd0fabf76b80125aa6fd4cd8b9d775252f90e5..404732c88102e7558238505308d219f074d053c1 100644
--- a/components/sync_driver/glue/sync_backend_host_core.h
+++ b/components/sync_driver/glue/sync_backend_host_core.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
#define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
+#include <stdint.h>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/timer/timer.h"
@@ -45,7 +47,7 @@ struct DoInitializeOptions {
const base::Closure& report_unrecoverable_error_function,
scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state,
syncer::PassphraseTransitionClearDataOption clear_data_option,
- const std::map<syncer::ModelType, int64>& invalidation_versions);
+ const std::map<syncer::ModelType, int64_t>& invalidation_versions);
~DoInitializeOptions();
base::MessageLoop* sync_loop;
@@ -71,7 +73,7 @@ struct DoInitializeOptions {
base::Closure report_unrecoverable_error_function;
scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state;
const syncer::PassphraseTransitionClearDataOption clear_data_option;
- const std::map<syncer::ModelType, int64> invalidation_versions;
+ const std::map<syncer::ModelType, int64_t> invalidation_versions;
};
// Helper struct to handle currying params to
@@ -320,7 +322,7 @@ class SyncBackendHostCore
// received invalidation version for each type.
// This allows dropping any invalidations with versions older than those
// most recently received for that data type.
- std::map<syncer::ModelType, int64> last_invalidation_versions_;
+ std::map<syncer::ModelType, int64_t> last_invalidation_versions_;
base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_;
« no previous file with comments | « components/sync_driver/glue/sync_backend_host.h ('k') | components/sync_driver/glue/sync_backend_host_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698