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

Unified Diff: components/syncable_prefs/pref_service_syncable_unittest.cc

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/syncable_prefs/pref_service_syncable_unittest.cc
diff --git a/components/syncable_prefs/pref_service_syncable_unittest.cc b/components/syncable_prefs/pref_service_syncable_unittest.cc
index 2c90f9c8c291ca74f4bcb2b159acd53dc6e2ee6b..cc173d1cca9fe33f8ef2fbd79b7e76bbe006711c 100644
--- a/components/syncable_prefs/pref_service_syncable_unittest.cc
+++ b/components/syncable_prefs/pref_service_syncable_unittest.cc
@@ -4,9 +4,12 @@
#include "components/syncable_prefs/pref_service_syncable.h"
+#include <stdint.h>
+
#include "base/json/json_reader.h"
#include "base/json/json_string_value_serializer.h"
#include "base/json/json_writer.h"
+#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/prefs/scoped_user_pref_update.h"
#include "base/strings/utf_string_conversions.h"
@@ -120,11 +123,10 @@ class PrefServiceSyncableTest : public testing::Test {
next_pref_remote_sync_node_id_ = 0;
}
- syncer::SyncChange MakeRemoteChange(
- int64 id,
- const std::string& name,
- const base::Value& value,
- SyncChange::SyncChangeType type) {
+ syncer::SyncChange MakeRemoteChange(int64_t id,
+ const std::string& name,
+ const base::Value& value,
+ SyncChange::SyncChangeType type) {
std::string serialized;
JSONStringValueSerializer json(&serialized);
if (!json.Serialize(value))
« no previous file with comments | « components/syncable_prefs/pref_service_syncable_factory.h ('k') | components/syncable_prefs/synced_pref_change_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698