Index: remoting/host/host_mock_objects.h |
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h |
index 61f39d37019c88cb3c7a90e3c47741a43d52996f..1af62f4a8823159fe18c038649fba1585b4fe31f 100644 |
--- a/remoting/host/host_mock_objects.h |
+++ b/remoting/host/host_mock_objects.h |
@@ -20,7 +20,7 @@ |
#include "remoting/host/input_injector.h" |
#include "remoting/host/screen_controls.h" |
#include "remoting/host/screen_resolution.h" |
-#include "remoting/host/security_key/gnubby_auth_handler.h" |
+#include "remoting/host/security_key/security_key_auth_handler.h" |
#include "remoting/proto/control.pb.h" |
#include "remoting/proto/event.pb.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -155,12 +155,12 @@ class MockHostStatusObserver : public HostStatusObserver { |
MOCK_METHOD0(OnShutdown, void()); |
}; |
-class MockGnubbyAuthHandler : public GnubbyAuthHandler { |
+class MockSecurityKeyAuthHandler : public SecurityKeyAuthHandler { |
public: |
- MockGnubbyAuthHandler(); |
- ~MockGnubbyAuthHandler() override; |
+ MockSecurityKeyAuthHandler(); |
+ ~MockSecurityKeyAuthHandler() override; |
- MOCK_METHOD0(CreateGnubbyConnection, void()); |
+ MOCK_METHOD0(CreateSecurityKeyConnection, void()); |
MOCK_CONST_METHOD1(IsValidConnectionId, bool(int connection_id)); |
MOCK_METHOD2(SendClientResponse, |
void(int connection_id, const std::string& response)); |
@@ -169,13 +169,13 @@ class MockGnubbyAuthHandler : public GnubbyAuthHandler { |
MOCK_METHOD1(SetRequestTimeoutForTest, void(base::TimeDelta timeout)); |
void SetSendMessageCallback( |
- const GnubbyAuthHandler::SendMessageCallback& callback) override; |
- const GnubbyAuthHandler::SendMessageCallback& GetSendMessageCallback(); |
+ const SecurityKeyAuthHandler::SendMessageCallback& callback) override; |
+ const SecurityKeyAuthHandler::SendMessageCallback& GetSendMessageCallback(); |
private: |
- GnubbyAuthHandler::SendMessageCallback callback_; |
+ SecurityKeyAuthHandler::SendMessageCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(MockGnubbyAuthHandler); |
+ DISALLOW_COPY_AND_ASSIGN(MockSecurityKeyAuthHandler); |
}; |
class MockMouseCursorMonitor : public webrtc::MouseCursorMonitor { |