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

Unified Diff: sync/test/local_sync_test_server.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
« no previous file with comments | « sync/test/fake_server/unique_client_entity.cc ('k') | sync/test/local_sync_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/local_sync_test_server.h
diff --git a/sync/test/local_sync_test_server.h b/sync/test/local_sync_test_server.h
index 4c3c01f82c202fd9a25d46f6adff03f0705ae2a0..95943be10d9f5cc86751c54cd71d3d978edd879b 100644
--- a/sync/test/local_sync_test_server.h
+++ b/sync/test/local_sync_test_server.h
@@ -5,8 +5,10 @@
#ifndef SYNC_TEST_LOCAL_SYNC_TEST_SERVER_H_
#define SYNC_TEST_LOCAL_SYNC_TEST_SERVER_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "net/test/spawned_test_server/local_test_server.h"
namespace syncer {
@@ -21,7 +23,7 @@ class LocalSyncTestServer : public net::LocalTestServer {
// Initialize a sync server that listens on |port| for sync updates and
// |xmpp_port| for p2p notifications.
- LocalSyncTestServer(uint16 port, uint16 xmpp_port);
+ LocalSyncTestServer(uint16_t port, uint16_t xmpp_port);
~LocalSyncTestServer() override;
@@ -37,7 +39,7 @@ class LocalSyncTestServer : public net::LocalTestServer {
private:
// Port on which the Sync XMPP server listens.
- uint16 xmpp_port_;
+ uint16_t xmpp_port_;
DISALLOW_COPY_AND_ASSIGN(LocalSyncTestServer);
};
« no previous file with comments | « sync/test/fake_server/unique_client_entity.cc ('k') | sync/test/local_sync_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698