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

Unified Diff: remoting/host/host_mock_objects.h

Issue 8476018: Move ConnectionToClient::EventHandler from ChromotingHost to ClientSession (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged 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/host/client_session_unittest.cc ('k') | remoting/host/screen_recorder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_mock_objects.h
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index 5dbdd7ba43bd768e847f0c5b308a81c2ffc64e68..06134991c6bd86436cc7ffb1a0ed6279380fd14b 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -96,9 +96,11 @@ class MockClientSessionEventHandler : public ClientSession::EventHandler {
MockClientSessionEventHandler();
virtual ~MockClientSessionEventHandler();
- MOCK_METHOD1(OnAuthenticationComplete,
- void(scoped_refptr<protocol::ConnectionToClient>));
-
+ MOCK_METHOD1(OnSessionAuthenticated, void(ClientSession* client));
+ MOCK_METHOD1(OnSessionClosed, void(ClientSession* client));
+ MOCK_METHOD1(OnSessionFailed, void(ClientSession* client));
+ MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client,
+ int64 sequence_number));
private:
DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler);
};
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/screen_recorder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698