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

Unified Diff: sync/test/engine/test_id_factory.h

Issue 1545553003: Switch to standard integer types in sync/. (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: sync/test/engine/test_id_factory.h
diff --git a/sync/test/engine/test_id_factory.h b/sync/test/engine/test_id_factory.h
index 40a3b5b0f9bf31e2c05123f3ac3e88d7a8c1af76..705575af6c2979ad7135d9047347795b272da736 100644
--- a/sync/test/engine/test_id_factory.h
+++ b/sync/test/engine/test_id_factory.h
@@ -7,6 +7,8 @@
#ifndef SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
#define SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
+#include <stdint.h>
+
#include <string>
#include "base/strings/string_number_conversions.h"
@@ -26,7 +28,7 @@ class TestIdFactory {
// If the number is positive, create a server ID based on the value. If
// the number is negative, create a local ID based on the value. This
// is deterministic, and [FromNumber(X) == FromNumber(Y)] iff [X == Y].
- static syncable::Id FromNumber(int64 value) {
+ static syncable::Id FromNumber(int64_t value) {
if (value == 0)
return root();
else if (value < 0)
« no previous file with comments | « sync/test/engine/test_directory_setter_upper.h ('k') | sync/test/fake_server/android/fake_server_helper_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698