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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 15701009: [SPDY] Add a SpdyStreamType enum and use it for SpdyStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CHECK -> DCHECK Created 7 years, 7 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
Index: net/spdy/spdy_test_util_common.cc
diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc
index bbfd86381020c10a47c44b1a8ce094bea9de44b7..c3f7364746aad47859f8fc8b344bdeaea26dadb4 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -280,12 +280,13 @@ bool GetSpdyPriority(SpdyMajorVersion version,
}
base::WeakPtr<SpdyStream> CreateStreamSynchronously(
+ SpdyStreamType type,
const scoped_refptr<SpdySession>& session,
const GURL& url,
RequestPriority priority,
const BoundNetLog& net_log) {
SpdyStreamRequest stream_request;
- int rv = stream_request.StartRequest(session, url, priority, net_log,
+ int rv = stream_request.StartRequest(type, session, url, priority, net_log,
CompletionCallback());
return
(rv == OK) ? stream_request.ReleaseStream() : base::WeakPtr<SpdyStream>();

Powered by Google App Engine
This is Rietveld 408576698