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

Unified Diff: net/spdy/spdy_websocket_stream_spdy3_unittest.cc

Issue 15829004: Update net/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: license twerk 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
« no previous file with comments | « net/spdy/spdy_websocket_stream_spdy2_unittest.cc ('k') | net/ssl/client_cert_store_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_websocket_stream_spdy3_unittest.cc
diff --git a/net/spdy/spdy_websocket_stream_spdy3_unittest.cc b/net/spdy/spdy_websocket_stream_spdy3_unittest.cc
index dee8cbf01a17e29dbb0804e68e1674f3633e4149..6ce2901c0f0ff2a664c86821acfc6eeee32f7309 100644
--- a/net/spdy/spdy_websocket_stream_spdy3_unittest.cc
+++ b/net/spdy/spdy_websocket_stream_spdy3_unittest.cc
@@ -349,7 +349,7 @@ TEST_F(SpdyWebSocketStreamSpdy3Test, Basic) {
base::Bind(&SpdyWebSocketStreamSpdy3Test::DoSendClosingFrame,
base::Unretained(this)));
- websocket_stream_.reset(new SpdyWebSocketStream(session_, &delegate));
+ websocket_stream_.reset(new SpdyWebSocketStream(session_.get(), &delegate));
BoundNetLog net_log;
GURL url("ws://example.com/echo");
@@ -422,7 +422,7 @@ TEST_F(SpdyWebSocketStreamSpdy3Test, DestructionBeforeClose) {
base::Bind(&SpdyWebSocketStreamSpdy3Test::DoSync,
base::Unretained(this)));
- websocket_stream_.reset(new SpdyWebSocketStream(session_, &delegate));
+ websocket_stream_.reset(new SpdyWebSocketStream(session_.get(), &delegate));
BoundNetLog net_log;
GURL url("ws://example.com/echo");
@@ -485,7 +485,7 @@ TEST_F(SpdyWebSocketStreamSpdy3Test, DestructionAfterExplicitClose) {
base::Bind(&SpdyWebSocketStreamSpdy3Test::DoClose,
base::Unretained(this)));
- websocket_stream_.reset(new SpdyWebSocketStream(session_, &delegate));
+ websocket_stream_.reset(new SpdyWebSocketStream(session_.get(), &delegate));
BoundNetLog net_log;
GURL url("ws://example.com/echo");
@@ -551,7 +551,7 @@ TEST_F(SpdyWebSocketStreamSpdy3Test, IOPending) {
SpdyWebSocketStreamEventRecorder block_delegate((CompletionCallback()));
scoped_ptr<SpdyWebSocketStream> block_stream(
- new SpdyWebSocketStream(session_, &block_delegate));
+ new SpdyWebSocketStream(session_.get(), &block_delegate));
BoundNetLog block_net_log;
GURL block_url("ws://example.com/block");
ASSERT_EQ(OK,
@@ -569,7 +569,7 @@ TEST_F(SpdyWebSocketStreamSpdy3Test, IOPending) {
base::Bind(&SpdyWebSocketStreamSpdy3Test::DoSendClosingFrame,
base::Unretained(this)));
- websocket_stream_.reset(new SpdyWebSocketStream(session_, &delegate));
+ websocket_stream_.reset(new SpdyWebSocketStream(session_.get(), &delegate));
BoundNetLog net_log;
GURL url("ws://example.com/echo");
ASSERT_EQ(ERR_IO_PENDING, websocket_stream_->InitializeStream(
« no previous file with comments | « net/spdy/spdy_websocket_stream_spdy2_unittest.cc ('k') | net/ssl/client_cert_store_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698