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

Unified Diff: remoting/host/security_key/security_key_socket.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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/security_key/security_key_socket.h
diff --git a/remoting/host/security_key/gnubby_socket.h b/remoting/host/security_key/security_key_socket.h
similarity index 84%
rename from remoting/host/security_key/gnubby_socket.h
rename to remoting/host/security_key/security_key_socket.h
index c0e1b4d0aa002a760283a653a17a9bcc50b0697c..069bd8119b36b3a53f278c8d94b1ba2eca8241aa 100644
--- a/remoting/host/security_key/gnubby_socket.h
+++ b/remoting/host/security_key/security_key_socket.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_HOST_SECURITY_KEY_GNUBBY_SOCKET_H_
-#define REMOTING_HOST_SECURITY_KEY_GNUBBY_SOCKET_H_
+#ifndef REMOTING_HOST_SECURITY_KEY_SECURITY_KEY_SOCKET_H_
+#define REMOTING_HOST_SECURITY_KEY_SECURITY_KEY_SOCKET_H_
#include <stddef.h>
@@ -31,12 +31,12 @@ namespace remoting {
// Class that manages reading requests and sending responses. The socket can
// only handle receiving one request at a time. It expects to receive no extra
// bytes over the wire, which is checked by IsRequestTooLarge method.
-class GnubbySocket {
+class SecurityKeySocket {
public:
- GnubbySocket(std::unique_ptr<net::StreamSocket> socket,
- base::TimeDelta timeout,
- const base::Closure& timeout_callback);
- ~GnubbySocket();
+ SecurityKeySocket(std::unique_ptr<net::StreamSocket> socket,
+ base::TimeDelta timeout,
+ const base::Closure& timeout_callback);
+ ~SecurityKeySocket();
// Returns false if the request has not yet completed, or is too large to be
// processed. Otherwise, the cached request data is copied into |data_out| and
@@ -82,7 +82,7 @@ class GnubbySocket {
// Resets the socket activity timer.
void ResetTimer();
- // Ensures GnubbySocket methods are called on the same thread.
+ // Ensures SecurityKeySocketSocket methods are called on the same thread.
base::ThreadChecker thread_checker_;
// The socket.
@@ -105,9 +105,9 @@ class GnubbySocket {
// The activity timer.
std::unique_ptr<base::Timer> timer_;
- DISALLOW_COPY_AND_ASSIGN(GnubbySocket);
+ DISALLOW_COPY_AND_ASSIGN(SecurityKeySocket);
};
} // namespace remoting
-#endif // REMOTING_HOST_SECURITY_KEY_GNUBBY_SOCKET_H_
+#endif // REMOTING_HOST_SECURITY_KEY_SECURITY_KEY_SOCKET_H_

Powered by Google App Engine
This is Rietveld 408576698