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

Unified Diff: components/sync_driver/device_info_sync_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
« no previous file with comments | « components/sync_driver/device_info_service.h ('k') | components/sync_driver/device_info_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/device_info_sync_service.h
diff --git a/components/sync_driver/device_info_sync_service.h b/components/sync_driver/device_info_sync_service.h
index 2f1e89a2d7f0a7b6fcb1b9f68ba04bc213501372..7d529bb9fa7f667277270722a2caf82306064c46 100644
--- a/components/sync_driver/device_info_sync_service.h
+++ b/components/sync_driver/device_info_sync_service.h
@@ -5,9 +5,12 @@
#ifndef COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SYNC_SERVICE_H_
#define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_SYNC_SERVICE_H_
+#include <stdint.h>
+
#include <map>
#include <string>
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/observer_list.h"
@@ -77,18 +80,18 @@ class DeviceInfoSyncService : public syncer::SyncableService,
bool UpdateBackupTime(syncer::SyncData* sync_data);
// |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; }
// 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 LocalDeviceInfoProvider* const local_device_info_provider_;
« no previous file with comments | « components/sync_driver/device_info_service.h ('k') | components/sync_driver/device_info_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698