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

Unified Diff: net/tools/quic/test_tools/simple_client.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/tools/quic/test_tools/server_thread.h ('k') | net/tools/quic/test_tools/simple_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « net/tools/quic/test_tools/server_thread.h ('k') | net/tools/quic/test_tools/simple_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698