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

Unified Diff: sync/test/local_sync_test_server.cc

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
« no previous file with comments | « sync/test/local_sync_test_server.h ('k') | sync/test/mock_invalidation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/local_sync_test_server.cc
diff --git a/sync/test/local_sync_test_server.cc b/sync/test/local_sync_test_server.cc
index e5f0a38cc901b1f25fc323a49f6c35c8d9774a65..773555580b940e99c9da3df6c911d3900fcd3e6a 100644
--- a/sync/test/local_sync_test_server.cc
+++ b/sync/test/local_sync_test_server.cc
@@ -4,6 +4,8 @@
#include "sync/test/local_sync_test_server.h"
+#include <stdint.h>
+
#include <string>
#include "base/command_line.h"
@@ -22,11 +24,11 @@ LocalSyncTestServer::LocalSyncTestServer()
base::FilePath()),
xmpp_port_(0) {}
-LocalSyncTestServer::LocalSyncTestServer(uint16 port, uint16 xmpp_port)
+LocalSyncTestServer::LocalSyncTestServer(uint16_t port, uint16_t xmpp_port)
: LocalTestServer(
- net::SpawnedTestServer::TYPE_HTTP, // Sync uses the HTTP scheme.
- net::SpawnedTestServer::kLocalhost,
- base::FilePath()),
+ net::SpawnedTestServer::TYPE_HTTP, // Sync uses the HTTP scheme.
+ net::SpawnedTestServer::kLocalhost,
+ base::FilePath()),
xmpp_port_(xmpp_port) {
SetPort(port);
}
« no previous file with comments | « sync/test/local_sync_test_server.h ('k') | sync/test/mock_invalidation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698