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

Unified Diff: remoting/host/host_mock_objects.h

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
Index: remoting/host/host_mock_objects.h
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index 06134991c6bd86436cc7ffb1a0ed6279380fd14b..0f7dd1270ee6f4b6bc0d3171142a45314a46d889 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -97,6 +97,7 @@ class MockClientSessionEventHandler : public ClientSession::EventHandler {
virtual ~MockClientSessionEventHandler();
MOCK_METHOD1(OnSessionAuthenticated, void(ClientSession* client));
+ MOCK_METHOD1(OnSessionAuthenticationFailed, void(ClientSession* client));
MOCK_METHOD1(OnSessionClosed, void(ClientSession* client));
MOCK_METHOD1(OnSessionFailed, void(ClientSession* client));
MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client,
@@ -134,8 +135,7 @@ class MockAccessVerifier : public AccessVerifier {
MockAccessVerifier();
virtual ~MockAccessVerifier();
- MOCK_METHOD2(VerifyPermissions, bool(const std::string& client_jid,
- const std::string& token));
+ MOCK_METHOD1(VerifyPermissions, bool(const std::string& client_jid));
private:
DISALLOW_COPY_AND_ASSIGN(MockAccessVerifier);

Powered by Google App Engine
This is Rietveld 408576698