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

Unified Diff: remoting/protocol/connection_to_client_unittest.cc

Issue 8662001: Remove AccessVerifier interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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 | « remoting/protocol/connection_to_client.cc ('k') | remoting/protocol/connection_to_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client_unittest.cc
diff --git a/remoting/protocol/connection_to_client_unittest.cc b/remoting/protocol/connection_to_client_unittest.cc
index 6bd051565d6bd39caf1842e94b7b12f345afdbe7..41f299c5082b92386ca5563913c2e5f509bbc958 100644
--- a/remoting/protocol/connection_to_client_unittest.cc
+++ b/remoting/protocol/connection_to_client_unittest.cc
@@ -98,7 +98,9 @@ TEST_F(ConnectionToClientTest, StateChange) {
session_->state_change_callback().Run(protocol::Session::CLOSED);
message_loop_.RunAllPending();
- EXPECT_CALL(handler_, OnConnectionFailed(viewer_.get()));
+ EXPECT_CALL(handler_, OnConnectionFailed(
+ viewer_.get(), Session::SESSION_REJECTED));
+ session_->set_error(Session::SESSION_REJECTED);
session_->state_change_callback().Run(protocol::Session::FAILED);
message_loop_.RunAllPending();
}
« no previous file with comments | « remoting/protocol/connection_to_client.cc ('k') | remoting/protocol/connection_to_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698