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

Side by Side Diff: net/http/bidirectional_stream_impl.h

Issue 2349363002: Adds GetLoadTimingInfo to net::BidirectionalStreamImpl (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ 5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_
6 #define NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ 6 #define NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "net/base/load_timing_info.h"
15 #include "net/base/net_export.h" 16 #include "net/base/net_export.h"
16 #include "net/socket/next_proto.h" 17 #include "net/socket/next_proto.h"
17 18
18 namespace base { 19 namespace base {
19 class Timer; 20 class Timer;
20 } // namespace base 21 } // namespace base
21 22
22 namespace net { 23 namespace net {
23 24
24 class BoundNetLog; 25 class BoundNetLog;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // push_promise frames associated with this stream, including the size of 144 // push_promise frames associated with this stream, including the size of
144 // frame headers, after SSL decryption and not including proxy overhead. 145 // frame headers, after SSL decryption and not including proxy overhead.
145 virtual int64_t GetTotalReceivedBytes() const = 0; 146 virtual int64_t GetTotalReceivedBytes() const = 0;
146 147
147 // Total number of bytes sent over the network of SPDY frames associated with 148 // Total number of bytes sent over the network of SPDY frames associated with
148 // this stream, including the size of frame headers, before SSL encryption and 149 // this stream, including the size of frame headers, before SSL encryption and
149 // not including proxy overhead. Note that some SPDY frames such as pings are 150 // not including proxy overhead. Note that some SPDY frames such as pings are
150 // not associated with any stream, and are not included in this value. 151 // not associated with any stream, and are not included in this value.
151 virtual int64_t GetTotalSentBytes() const = 0; 152 virtual int64_t GetTotalSentBytes() const = 0;
152 153
154 // Populates the connection establishment part of |load_timing_info|, and
155 // socket reuse info.
mef 2016/09/20 20:37:49 Could you document return value? What does return
xunjieli 2016/09/20 20:43:53 Done.
156 virtual bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const = 0;
157
153 private: 158 private:
154 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamImpl); 159 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamImpl);
155 }; 160 };
156 161
157 } // namespace net 162 } // namespace net
158 163
159 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ 164 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698