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

Unified Diff: remoting/protocol/connection_to_client_unittest.cc

Issue 9567033: Cleanup error handling in the client plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 10 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 | « remoting/protocol/connection_to_client.h ('k') | remoting/protocol/connection_to_host.h » ('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 0d27fee6fda715223ca1033ee6348765a888de12..6dd80f9477b9b39b9d12c1250abab409f4c4e32a 100644
--- a/remoting/protocol/connection_to_client_unittest.cc
+++ b/remoting/protocol/connection_to_client_unittest.cc
@@ -100,9 +100,8 @@ TEST_F(ConnectionToClientTest, StateChange) {
session_->state_change_callback().Run(protocol::Session::CLOSED);
message_loop_.RunAllPending();
- EXPECT_CALL(handler_, OnConnectionFailed(
- viewer_.get(), Session::SESSION_REJECTED));
- session_->set_error(Session::SESSION_REJECTED);
+ EXPECT_CALL(handler_, OnConnectionFailed(viewer_.get(), SESSION_REJECTED));
+ session_->set_error(SESSION_REJECTED);
session_->state_change_callback().Run(protocol::Session::FAILED);
message_loop_.RunAllPending();
}
« no previous file with comments | « remoting/protocol/connection_to_client.h ('k') | remoting/protocol/connection_to_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698