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

Unified Diff: net/socket/ssl_server_socket_unittest.cc

Issue 7189055: Deciding best connection to schedule requests on based on cwnd and idle time (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Reuploading because net/socket/socket_test_util.cc is bad Created 9 years, 6 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/socket/ssl_server_socket_nss.cc ('k') | net/socket/stream_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_server_socket_unittest.cc
===================================================================
--- net/socket/ssl_server_socket_unittest.cc (revision 90217)
+++ net/socket/ssl_server_socket_unittest.cc (working copy)
@@ -171,6 +171,14 @@
return false;
}
+ virtual int64 NumBytesRead() const {
+ return -1;
+ }
+
+ virtual base::TimeDelta GetConnectTimeMicros() const {
+ return base::TimeDelta::FromMicroseconds(-1);
+ }
+
private:
net::BoundNetLog net_log_;
FakeDataChannel* incoming_;
« no previous file with comments | « net/socket/ssl_server_socket_nss.cc ('k') | net/socket/stream_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698