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

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
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/host/host_mock_objects.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 38107144b79971903dd088326b0cfabd5caf0ab9..7548775a2934eb5545770b005a63d014f8066dc4 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -5,7 +5,6 @@
#ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_
#define REMOTING_HOST_HOST_MOCK_OBJECTS_H_
-#include "remoting/host/access_verifier.h"
#include "remoting/host/capturer.h"
#include "remoting/host/curtain.h"
#include "remoting/host/chromoting_host_context.h"
@@ -99,6 +98,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,
@@ -131,18 +131,6 @@ class MockUserAuthenticator : public UserAuthenticator {
DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator);
};
-class MockAccessVerifier : public AccessVerifier {
- public:
- MockAccessVerifier();
- virtual ~MockAccessVerifier();
-
- MOCK_METHOD2(VerifyPermissions, bool(const std::string& client_jid,
- const std::string& token));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockAccessVerifier);
-};
-
} // namespace remoting
#endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698