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

Unified Diff: net/tools/quic/test_tools/quic_test_client.cc

Issue 2430973004: Landing Recent QUIC changes until 10:38 AM, Oct 17, 2016 UTC-4 (Closed)
Patch Set: Improving flagsaver logging Created 4 years, 2 months 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/quic_test_client.h ('k') | net/tools/quic/test_tools/server_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_client.cc
diff --git a/net/tools/quic/test_tools/quic_test_client.cc b/net/tools/quic/test_tools/quic_test_client.cc
index c8abbbfe25e8c26edee1be4a6d35f07ca1e55bbd..b8b36b03be043493626e1e661c82c2cb38392bb8 100644
--- a/net/tools/quic/test_tools/quic_test_client.cc
+++ b/net/tools/quic/test_tools/quic_test_client.cc
@@ -438,10 +438,6 @@ void QuicTestClient::set_buffer_body(bool buffer_body) {
buffer_body_ = buffer_body;
}
-bool QuicTestClient::ServerInLameDuckMode() const {
- return false;
-}
-
const string& QuicTestClient::response_body() {
return response_;
}
@@ -698,30 +694,15 @@ void QuicTestClient::UseConnectionId(QuicConnectionId connection_id) {
client_->UseConnectionId(connection_id);
}
-ssize_t QuicTestClient::SendAndWaitForResponse(const void* buffer,
- size_t size) {
- LOG(DFATAL) << "Not implemented";
- return 0;
-}
-
-void QuicTestClient::Bind(IPEndPoint* local_address) {
- DLOG(WARNING) << "Bind will be done during connect";
-}
-
void QuicTestClient::MigrateSocket(const IPAddress& new_host) {
client_->MigrateSocket(new_host);
}
-string QuicTestClient::SerializeMessage(const HTTPMessage& message) {
- LOG(DFATAL) << "Not implemented";
- return "";
-}
-
IPAddress QuicTestClient::bind_to_address() const {
return client_->bind_to_address();
}
-void QuicTestClient::set_bind_to_address(const IPAddress& address) {
+void QuicTestClient::set_bind_to_address(IPAddress address) {
client_->set_bind_to_address(address);
}
@@ -729,11 +710,6 @@ const IPEndPoint& QuicTestClient::address() const {
return client_->server_address();
}
-size_t QuicTestClient::requests_sent() const {
- LOG(DFATAL) << "Not implemented";
- return 0;
-}
-
void QuicTestClient::WaitForWriteToFlush() {
while (connected() && client()->session()->HasDataToWrite()) {
client_->WaitForEvents();
« no previous file with comments | « net/tools/quic/test_tools/quic_test_client.h ('k') | net/tools/quic/test_tools/server_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698