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

Unified Diff: remoting/host/security_key/security_key_message_writer_impl.cc

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
Index: remoting/host/security_key/security_key_message_writer_impl.cc
diff --git a/remoting/host/security_key/remote_security_key_message_writer_impl.cc b/remoting/host/security_key/security_key_message_writer_impl.cc
similarity index 79%
rename from remoting/host/security_key/remote_security_key_message_writer_impl.cc
rename to remoting/host/security_key/security_key_message_writer_impl.cc
index 4a434dfb838ef68dcffd9884233f1b917011e738..a14055bd2e63b1feaf1f875c35096f12a456470e 100644
--- a/remoting/host/security_key/remote_security_key_message_writer_impl.cc
+++ b/remoting/host/security_key/security_key_message_writer_impl.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/security_key/remote_security_key_message_writer_impl.h"
+#include "remoting/host/security_key/security_key_message_writer_impl.h"
#include <cstdint>
#include <string>
@@ -12,19 +12,19 @@
namespace remoting {
-RemoteSecurityKeyMessageWriterImpl::RemoteSecurityKeyMessageWriterImpl(
+SecurityKeyMessageWriterImpl::SecurityKeyMessageWriterImpl(
base::File output_file)
: output_stream_(std::move(output_file)) {}
-RemoteSecurityKeyMessageWriterImpl::~RemoteSecurityKeyMessageWriterImpl() {}
+SecurityKeyMessageWriterImpl::~SecurityKeyMessageWriterImpl() {}
-bool RemoteSecurityKeyMessageWriterImpl::WriteMessage(
- RemoteSecurityKeyMessageType message_type) {
+bool SecurityKeyMessageWriterImpl::WriteMessage(
+ SecurityKeyMessageType message_type) {
return WriteMessageWithPayload(message_type, std::string());
}
-bool RemoteSecurityKeyMessageWriterImpl::WriteMessageWithPayload(
- RemoteSecurityKeyMessageType message_type,
+bool SecurityKeyMessageWriterImpl::WriteMessageWithPayload(
+ SecurityKeyMessageType message_type,
const std::string& message_payload) {
if (write_failed_ || !output_stream_.IsValid()) {
return false;
@@ -62,9 +62,8 @@ bool RemoteSecurityKeyMessageWriterImpl::WriteMessageWithPayload(
return true;
}
-bool RemoteSecurityKeyMessageWriterImpl::WriteBytesToOutput(
- const char* message,
- int bytes_to_write) {
+bool SecurityKeyMessageWriterImpl::WriteBytesToOutput(const char* message,
+ int bytes_to_write) {
DCHECK(message);
DCHECK_GT(bytes_to_write, 0);

Powered by Google App Engine
This is Rietveld 408576698