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

Unified Diff: components/sync_driver/model_associator.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/model_associator.h
diff --git a/components/sync_driver/model_associator.h b/components/sync_driver/model_associator.h
index 4d6e3277b28f119701e071a4150c1c867f0243c1..0b8f4ab1945c23bca7b14a2e329e4bb701288817 100644
--- a/components/sync_driver/model_associator.h
+++ b/components/sync_driver/model_associator.h
@@ -5,7 +5,8 @@
#ifndef COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATOR_H_
#define COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATOR_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/synchronization/lock.h"
#include "sync/api/sync_error.h"
#include "sync/internal_api/public/base/model_type.h"
@@ -70,11 +71,11 @@ class PerDataTypeAssociatorInterface : public AssociatorInterface {
// Returns sync id for the given chrome model id.
// Returns syncer::kInvalidId if the sync node is not found for the given
// chrome id.
- virtual int64 GetSyncIdFromChromeId(const IDType& id) = 0;
+ virtual int64_t GetSyncIdFromChromeId(const IDType& id) = 0;
// Returns the chrome node for the given sync id.
// Returns NULL if no node is found for the given sync id.
- virtual const Node* GetChromeNodeFromSyncId(int64 sync_id) = 0;
+ virtual const Node* GetChromeNodeFromSyncId(int64_t sync_id) = 0;
// Initializes the given sync node from the given chrome node id.
// Returns false if no sync node was found for the given chrome node id or
@@ -88,7 +89,7 @@ class PerDataTypeAssociatorInterface : public AssociatorInterface {
const syncer::BaseNode& sync_node) = 0;
// Remove the association that corresponds to the given sync id.
- virtual void Disassociate(int64 sync_id) = 0;
+ virtual void Disassociate(int64_t sync_id) = 0;
};
} // namespace sync_driver
« no previous file with comments | « components/sync_driver/model_association_manager.cc ('k') | components/sync_driver/non_blocking_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698