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

Unified Diff: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc

Issue 609923004: Cleanup usage of scoped_ptr<> in remoting for C++11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
index 37fee4592af59d38a3e8a89eb24ff823dc4826b4..4749dc0086fb7da9e17a8c36fa7fb2a63a405fe6 100644
--- a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
+++ b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
@@ -75,12 +75,12 @@ class SslHmacChannelAuthenticatorTest : public testing::Test {
client_fake_socket_->PairWith(host_fake_socket_.get());
client_auth_->SecureAndAuthenticate(
- client_fake_socket_.PassAs<net::StreamSocket>(),
+ client_fake_socket_.Pass(),
base::Bind(&SslHmacChannelAuthenticatorTest::OnClientConnected,
base::Unretained(this)));
host_auth_->SecureAndAuthenticate(
- host_fake_socket_.PassAs<net::StreamSocket>(),
+ host_fake_socket_.Pass(),
base::Bind(&SslHmacChannelAuthenticatorTest::OnHostConnected,
base::Unretained(this), std::string("ref argument value")));

Powered by Google App Engine
This is Rietveld 408576698