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

Side by Side Diff: remoting/host/security_key/security_key_extension.cc

Issue 2167473003: 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "remoting/host/security_key/security_key_extension.h"
6
7 #include "base/memory/ptr_util.h"
8 #include "remoting/host/security_key/security_key_extension_session.h"
9
10 namespace {
11 // TODO(joedow): Update this once clients support sending a security key
12 // capabililty. Tracked via: crbug.com/587485
13 const char kCapability[] = "";
14 }
15
16 namespace remoting {
17
18 SecurityKeyExtension::SecurityKeyExtension() {}
19
20 SecurityKeyExtension::~SecurityKeyExtension() {}
21
22 std::string SecurityKeyExtension::capability() const {
23 return kCapability;
24 }
25
26 std::unique_ptr<HostExtensionSession>
27 SecurityKeyExtension::CreateExtensionSession(
28 ClientSessionDetails* details,
29 protocol::ClientStub* client_stub) {
30 // TODO(joedow): Update this mechanism to allow for multiple sessions. The
31 // extension will only send messages through the initial
32 // |client_stub| and |details| with the current design.
33 return base::WrapUnique(
34 new SecurityKeyExtensionSession(details, client_stub));
35 }
36
37 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/security_key/security_key_extension.h ('k') | remoting/host/security_key/security_key_extension_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698