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

Unified Diff: remoting/host/host_mock_objects.h

Issue 2162083003: Renaming Gnubby and RemoteSecurityKey files/classes/members (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a GYP build error Created 4 years, 5 months 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/BUILD.gn ('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 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 {
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698