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_ |