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

Unified Diff: net/socket/stream_socket.h

Issue 6930014: Rename ClientSocket to StreamSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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
« no previous file with comments | « net/socket/ssl_server_socket_unittest.cc ('k') | net/socket/stream_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/stream_socket.h
diff --git a/net/socket/client_socket.h b/net/socket/stream_socket.h
similarity index 94%
rename from net/socket/client_socket.h
rename to net/socket/stream_socket.h
index f57fe3f97ea790778711dbafe666521f78bc4402..37953ec4691ff210db77e58ef5dd80c7c0b5a61b 100644
--- a/net/socket/client_socket.h
+++ b/net/socket/stream_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 NET_SOCKET_CLIENT_SOCKET_H_
-#define NET_SOCKET_CLIENT_SOCKET_H_
+#ifndef NET_SOCKET_STREAM_SOCKET_H_
+#define NET_SOCKET_STREAM_SOCKET_H_
#pragma once
#include "net/base/net_log.h"
@@ -14,9 +14,9 @@ namespace net {
class AddressList;
class IPEndPoint;
-class ClientSocket : public Socket {
+class StreamSocket : public Socket {
public:
- virtual ~ClientSocket() {}
+ virtual ~StreamSocket() {}
// Called to establish a connection. Returns OK if the connection could be
// established synchronously. Otherwise, ERR_IO_PENDING is returned and the
@@ -71,7 +71,7 @@ class ClientSocket : public Socket {
virtual void SetOmniboxSpeculation() = 0;
// Returns true if the underlying transport socket ever had any reads or
- // writes. ClientSockets layered on top of transport sockets should forward
+ // writes. StreamSockets layered on top of transport sockets should forward
// this call to the transport socket.
virtual bool WasEverUsed() const = 0;
@@ -83,7 +83,7 @@ class ClientSocket : public Socket {
// The following class is only used to gather statistics about the history of
// a socket. It is only instantiated and used in basic sockets, such as
// TCPClientSocket* instances. Other classes that are derived from
- // ClientSocket should forward any potential settings to their underlying
+ // StreamSocket should forward any potential settings to their underlying
// transport sockets.
class UseHistory {
public:
@@ -130,4 +130,4 @@ class ClientSocket : public Socket {
} // namespace net
-#endif // NET_SOCKET_CLIENT_SOCKET_H_
+#endif // NET_SOCKET_STREAM_SOCKET_H_
« no previous file with comments | « net/socket/ssl_server_socket_unittest.cc ('k') | net/socket/stream_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698