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

Side by Side Diff: remoting/host/security_key/security_key_message_writer.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 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 #ifndef REMOTING_HOST_SECURITY_KEY_SECURITY_KEY_MESSAGE_WRITER_H_
6 #define REMOTING_HOST_SECURITY_KEY_SECURITY_KEY_MESSAGE_WRITER_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "remoting/host/security_key/security_key_message.h"
12
13 namespace remoting {
14
15 // Used for sending security key messages using a file handle.
16 class SecurityKeyMessageWriter {
17 public:
18 virtual ~SecurityKeyMessageWriter() {}
19
20 // Writes a security key message w/o a payload to |output_stream_|.
21 virtual bool WriteMessage(SecurityKeyMessageType message_type) = 0;
22
23 // Writes a security key message with a payload to |output_stream_|.
24 virtual bool WriteMessageWithPayload(SecurityKeyMessageType message_type,
25 const std::string& message_payload) = 0;
26 };
27
28 } // namespace remoting
29
30 #endif // REMOTING_HOST_SECURITY_KEY_SECURITY_KEY_MESSAGE_WRITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698