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

Side by Side Diff: remoting/host/security_key/gnubby_extension.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_ 5 #ifndef REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_
6 #define REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_ 6 #define REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "remoting/host/host_extension.h" 12 #include "remoting/host/host_extension.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 // GnubbyExtension extends HostExtension to enable Security Key support. 16 // GnubbyExtension extends HostExtension to enable Security Key support.
17 class GnubbyExtension : public HostExtension { 17 class GnubbyExtension : public HostExtension {
18 public: 18 public:
19 GnubbyExtension(); 19 GnubbyExtension();
20 ~GnubbyExtension() override; 20 ~GnubbyExtension() override;
21 21
22 // HostExtension interface. 22 // HostExtension interface.
23 std::string capability() const override; 23 std::string capability() const override;
24 scoped_ptr<HostExtensionSession> CreateExtensionSession( 24 std::unique_ptr<HostExtensionSession> CreateExtensionSession(
25 ClientSessionControl* client_session_control, 25 ClientSessionControl* client_session_control,
26 protocol::ClientStub* client_stub) override; 26 protocol::ClientStub* client_stub) override;
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(GnubbyExtension); 29 DISALLOW_COPY_AND_ASSIGN(GnubbyExtension);
30 }; 30 };
31 31
32 } // namespace remoting 32 } // namespace remoting
33 33
34 #endif // REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_ 34 #endif // REMOTING_HOST_SECURITY_KEY_GNUBBY_EXTENSION_H_
OLDNEW
« 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