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

Unified Diff: net/spdy/spdy_stream_test_util.cc

Issue 2783683002: Log source_dependency in HTTP2_SESSION_SEND_HEADERS. (Closed)
Patch Set: Fix use-after-free. Created 3 years, 9 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/spdy/spdy_stream_test_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream_test_util.cc
diff --git a/net/spdy/spdy_stream_test_util.cc b/net/spdy/spdy_stream_test_util.cc
index a9c8e56b6793d85c8b89908afc4acbeaab7dd7a0..35c7f107ec5d2c87bc31b8f3fb7b7c9a03c8a4ef 100644
--- a/net/spdy/spdy_stream_test_util.cc
+++ b/net/spdy/spdy_stream_test_util.cc
@@ -40,6 +40,10 @@ void ClosingDelegate::OnClose(int status) {
// The |stream_| may still be alive (if it is our delegate).
}
+NetLogSource ClosingDelegate::source_dependency() const {
+ return NetLogSource();
+}
+
StreamDelegateBase::StreamDelegateBase(
const base::WeakPtr<SpdyStream>& stream)
: stream_(stream),
@@ -79,6 +83,10 @@ void StreamDelegateBase::OnClose(int status) {
callback_.callback().Run(status);
}
+NetLogSource StreamDelegateBase::source_dependency() const {
+ return NetLogSource();
+}
+
int StreamDelegateBase::WaitForClose() {
int result = callback_.WaitForResult();
EXPECT_TRUE(!stream_.get());
« no previous file with comments | « net/spdy/spdy_stream_test_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698