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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/bidirectional_stream_impl.h
diff --git a/net/http/bidirectional_stream_impl.h b/net/http/bidirectional_stream_impl.h
index dd173ec0b22d5fc7323b70966f6765ba5e3c9747..56b73ebf318f7d1ef83fc0c2d82eaa0a1df597d8 100644
--- a/net/http/bidirectional_stream_impl.h
+++ b/net/http/bidirectional_stream_impl.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "net/base/load_timing_info.h"
#include "net/base/net_export.h"
#include "net/socket/next_proto.h"
@@ -150,6 +151,10 @@ class NET_EXPORT_PRIVATE BidirectionalStreamImpl {
// not associated with any stream, and are not included in this value.
virtual int64_t GetTotalSentBytes() const = 0;
+ // Populates the connection establishment part of |load_timing_info|, and
+ // 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.
+ virtual bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamImpl);
};
« 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