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

Unified Diff: remoting/host/security_key/fake_security_key_message_writer.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/fake_security_key_message_writer.cc
diff --git a/remoting/host/security_key/fake_remote_security_key_message_writer.cc b/remoting/host/security_key/fake_security_key_message_writer.cc
similarity index 66%
rename from remoting/host/security_key/fake_remote_security_key_message_writer.cc
rename to remoting/host/security_key/fake_security_key_message_writer.cc
index ccfd05bc0629fe56d64bb34f977a9ec366fff1e7..f26d088aca26921c2680795a8d0d450045236358 100644
--- a/remoting/host/security_key/fake_remote_security_key_message_writer.cc
+++ b/remoting/host/security_key/fake_security_key_message_writer.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/fake_remote_security_key_message_writer.h"
+#include "remoting/host/security_key/fake_security_key_message_writer.h"
#include <string>
#include <utility>
@@ -16,21 +16,21 @@
namespace remoting {
-FakeRemoteSecurityKeyMessageWriter::FakeRemoteSecurityKeyMessageWriter(
+FakeSecurityKeyMessageWriter::FakeSecurityKeyMessageWriter(
const base::Closure& write_callback)
: write_callback_(write_callback), weak_factory_(this) {
DCHECK(!write_callback_.is_null());
}
-FakeRemoteSecurityKeyMessageWriter::~FakeRemoteSecurityKeyMessageWriter() {}
+FakeSecurityKeyMessageWriter::~FakeSecurityKeyMessageWriter() {}
-base::WeakPtr<FakeRemoteSecurityKeyMessageWriter>
-FakeRemoteSecurityKeyMessageWriter::AsWeakPtr() {
+base::WeakPtr<FakeSecurityKeyMessageWriter>
+FakeSecurityKeyMessageWriter::AsWeakPtr() {
return weak_factory_.GetWeakPtr();
}
-bool FakeRemoteSecurityKeyMessageWriter::WriteMessage(
- RemoteSecurityKeyMessageType message_type) {
+bool FakeSecurityKeyMessageWriter::WriteMessage(
+ SecurityKeyMessageType message_type) {
last_message_type_ = message_type;
last_message_payload_.clear();
@@ -39,8 +39,8 @@ bool FakeRemoteSecurityKeyMessageWriter::WriteMessage(
return write_request_succeeded_;
}
-bool FakeRemoteSecurityKeyMessageWriter::WriteMessageWithPayload(
- RemoteSecurityKeyMessageType message_type,
+bool FakeSecurityKeyMessageWriter::WriteMessageWithPayload(
+ SecurityKeyMessageType message_type,
const std::string& message_payload) {
last_message_type_ = message_type;
last_message_payload_ = message_payload;
« no previous file with comments | « remoting/host/security_key/fake_security_key_message_writer.h ('k') | remoting/host/security_key/gnubby_auth_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698