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

Unified Diff: remoting/host/security_key/gnubby_extension.h

Issue 2170563002: Revert of Renaming Gnubby and RemoteSecurityKey files/classes/members (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: remoting/host/security_key/gnubby_extension.h
diff --git a/remoting/host/security_key/gnubby_extension.h b/remoting/host/security_key/gnubby_extension.h
new file mode 100644
index 0000000000000000000000000000000000000000..e44eb07b7bbcbfcea32a97a27c5660d4e4cccf91
--- /dev/null
+++ b/remoting/host/security_key/gnubby_extension.h
@@ -0,0 +1,37 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_
+#define REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_
+
+#include <memory>
+#include <string>
+
+#include "base/macros.h"
+#include "remoting/host/host_extension.h"
+
+namespace remoting {
+
+class ClientSessionDetails;
+class HostExtensionSession;
+
+// GnubbyExtension extends HostExtension to enable Security Key support.
+class GnubbyExtension : public HostExtension {
+ public:
+ GnubbyExtension();
+ ~GnubbyExtension() override;
+
+ // HostExtension interface.
+ std::string capability() const override;
+ std::unique_ptr<HostExtensionSession> CreateExtensionSession(
+ ClientSessionDetails* client_session_details,
+ protocol::ClientStub* client_stub) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(GnubbyExtension);
+};
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_
« no previous file with comments | « remoting/host/security_key/gnubby_auth_handler_win_unittest.cc ('k') | remoting/host/security_key/gnubby_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698