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

Unified Diff: components/sync_driver/device_info_service.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/device_info_service.h
diff --git a/components/sync_driver/device_info_service.h b/components/sync_driver/device_info_service.h
index 4c8ac298ecb76067bbca0d3910ce8f73ba8af435..fdd649bf57ba2512d3fc015a94d2b6c7ea1a5830 100644
--- a/components/sync_driver/device_info_service.h
+++ b/components/sync_driver/device_info_service.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SERVICE_H_
#define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SERVICE_H_
+#include <stdint.h>
+
#include <map>
#include <string>
#include <vector>
@@ -89,11 +91,11 @@ class DeviceInfoService : public syncer_v2::ModelTypeService,
void OnProviderInitialized();
// |local_device_backup_time_| accessors.
- int64 local_device_backup_time() const { return local_device_backup_time_; }
+ int64_t local_device_backup_time() const { return local_device_backup_time_; }
bool has_local_device_backup_time() const {
return local_device_backup_time_ >= 0;
}
- void set_local_device_backup_time(int64 value) {
+ void set_local_device_backup_time(int64_t value) {
local_device_backup_time_ = value;
}
void clear_local_device_backup_time() { local_device_backup_time_ = -1; }
@@ -101,7 +103,7 @@ class DeviceInfoService : public syncer_v2::ModelTypeService,
// TODO(skym): Remove once we remove local provider.
// Local device last set backup time (in proto format).
// -1 if the value hasn't been specified
- int64 local_device_backup_time_;
+ int64_t local_device_backup_time_;
// |local_device_info_provider_| isn't owned.
const sync_driver::LocalDeviceInfoProvider* const local_device_info_provider_;
« no previous file with comments | « components/sync_driver/device_info_data_type_controller.h ('k') | components/sync_driver/device_info_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698