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

Unified Diff: net/test/spawned_test_server/base_test_server.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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 | « net/test/scoped_disable_exit_on_dfatal.h ('k') | net/test/spawned_test_server/local_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/spawned_test_server/base_test_server.h
diff --git a/net/test/spawned_test_server/base_test_server.h b/net/test/spawned_test_server/base_test_server.h
index 3ea2506d432d52c55604c6ca424073c9dcfc1c49..7df2416371364723a09d42ca0ede2b36d51debba 100644
--- a/net/test/spawned_test_server/base_test_server.h
+++ b/net/test/spawned_test_server/base_test_server.h
@@ -5,12 +5,15 @@
#ifndef NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
#define NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
+#include <stdint.h>
+
#include <string>
#include <utility>
#include <vector>
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "net/base/host_port_pair.h"
@@ -156,7 +159,7 @@ class BaseTestServer {
// If not zero, |cert_serial| will be the serial number of the
// auto-generated leaf certificate when |server_certificate==CERT_AUTO|.
- uint64 cert_serial;
+ uint64_t cert_serial;
// True if a CertificateRequest should be sent to the client during
// handshaking.
@@ -297,10 +300,10 @@ class BaseTestServer {
// Gets port currently assigned to host_port_pair_ without checking
// whether it's available (server started) or not.
- uint16 GetPort();
+ uint16_t GetPort();
// Sets |port| as the actual port used by Python based test server.
- void SetPort(uint16 port);
+ void SetPort(uint16_t port);
// Set up internal status when the server is started.
bool SetupWhenServerStarted() WARN_UNUSED_RESULT;
« no previous file with comments | « net/test/scoped_disable_exit_on_dfatal.h ('k') | net/test/spawned_test_server/local_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698