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

Unified Diff: net/spdy/spdy_http_stream.h

Issue 6990036: 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: '' 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
« net/socket/stream_socket.h ('K') | « net/socket/tcp_client_socket_libevent.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_http_stream.h
===================================================================
--- net/spdy/spdy_http_stream.h (revision 86260)
+++ net/spdy/spdy_http_stream.h (working copy)
@@ -10,6 +10,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/task.h"
#include "net/base/completion_callback.h"
@@ -69,6 +70,15 @@
SSLCertRequestInfo* cert_request_info) OVERRIDE;
virtual bool IsSpdyHttpStream() const OVERRIDE;
+ virtual double GetRTTMs() const OVERRIDE {
+ LOG(ERROR) << "Should not be called";
willchan no longer on Chromium 2011/06/06 10:57:36 Use NOTREACHED() instead.
Gagan 2011/06/06 20:27:10 Replaced with LogRttVsBytesMetrics as you suggeste
+ return 0;
+ }
+ virtual int GetBytesReceived() const OVERRIDE {
+ LOG(ERROR) << "Should not be called";
+ return -1;
+ }
+
// SpdyStream::Delegate methods:
virtual bool OnSendHeadersComplete(int status) OVERRIDE;
virtual int OnSendBody() OVERRIDE;
« net/socket/stream_socket.h ('K') | « net/socket/tcp_client_socket_libevent.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698