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

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: 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
Index: remoting/host/host_mock_objects.h
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index 7696dbd3ac96fd40761758cabc2afa518dbbe9f3..c2a74d9a2dc53a6be4ef997a7fdb7c08e899c8ef 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -95,9 +95,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);
};

Powered by Google App Engine
This is Rietveld 408576698