Chromium Code Reviews| Index: net/spdy/spdy_stream.cc |
| diff --git a/net/spdy/spdy_stream.cc b/net/spdy/spdy_stream.cc |
| index 44d12432afc1cc7d3a4bf8840c911d35c23d7e11..6afef78e308650c210ddbcba062de509d28835df 100644 |
| --- a/net/spdy/spdy_stream.cc |
| +++ b/net/spdy/spdy_stream.cc |
| @@ -36,6 +36,11 @@ class NetLogSpdyStreamWindowUpdateParameter : public NetLog::EventParameters { |
| } |
| +ScopedBandwidthMetrics::ScopedBandwidthMetrics() |
|
ukai
2010/12/08 01:44:15
don't we have net/base/bandwidth_metrics.cc ?
I d
willchan no longer on Chromium
2010/12/08 04:02:47
Wow, I totally missed this. I agree completely.
Satish
2010/12/08 12:58:22
We didn't have net/base/bandwidth_metrics.cc and I
|
| + : metrics_(Singleton<BandwidthMetrics>::get()), |
| + started_(false) { |
| +} |
| + |
| SpdyStream::SpdyStream(SpdySession* session, |
| spdy::SpdyStreamId stream_id, |
| bool pushed, |
| @@ -47,7 +52,6 @@ SpdyStream::SpdyStream(SpdySession* session, |
| send_window_size_(spdy::kSpdyStreamInitialWindowSize), |
| recv_window_size_(spdy::kSpdyStreamInitialWindowSize), |
| pushed_(pushed), |
| - metrics_(Singleton<BandwidthMetrics>::get()), |
| response_received_(false), |
| session_(session), |
| delegate_(NULL), |