Index: net/tools/quic/test_tools/simple_client.h |
diff --git a/net/tools/quic/test_tools/simple_client.h b/net/tools/quic/test_tools/simple_client.h |
index 1c85dac4f1a9f96fd4f8923295ecd5cd8d0d9221..322210129dbf7726766a1c88562512b01bf094d6 100644 |
--- a/net/tools/quic/test_tools/simple_client.h |
+++ b/net/tools/quic/test_tools/simple_client.h |
@@ -5,6 +5,9 @@ |
#ifndef NET_TOOLS_QUIC_TEST_TOOLS_SIMPLE_CLIENT_H_ |
#define NET_TOOLS_QUIC_TEST_TOOLS_SIMPLE_CLIENT_H_ |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include <string> |
#include <vector> |
@@ -115,7 +118,7 @@ class SimpleClient { |
virtual bool response_complete() const = 0; |
// Returns the number of bytes read from the server during this request. |
- virtual int64 response_size() const = 0; |
+ virtual int64_t response_size() const = 0; |
// Returns the number of header bytes received during this request, if |
// meaningful for the protocol. |
@@ -123,7 +126,7 @@ class SimpleClient { |
// Returns the number of body bytes received during this request, if |
// meaningful for the protocol. |
- virtual int64 response_body_size() const; |
+ virtual int64_t response_body_size() const; |
// Returns the response body, if there was one. If there was no response, or |
// if buffer_body() is false, returns an empty string. |