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

Unified Diff: net/socket/unix_domain_client_socket_posix_unittest.cc

Issue 1335423002: net: Remove 'libevent' from filenames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 3 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/unix_domain_client_socket_posix.cc ('k') | net/socket/unix_domain_server_socket_posix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/unix_domain_client_socket_posix_unittest.cc
diff --git a/net/socket/unix_domain_client_socket_posix_unittest.cc b/net/socket/unix_domain_client_socket_posix_unittest.cc
index 651cd72dd5bb4611443b7e1d75df5574ec86134e..fca4ad1d3cc6587a116c0249ab98f1689abd53af 100644
--- a/net/socket/unix_domain_client_socket_posix_unittest.cc
+++ b/net/socket/unix_domain_client_socket_posix_unittest.cc
@@ -14,7 +14,7 @@
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/base/test_completion_callback.h"
-#include "net/socket/socket_libevent.h"
+#include "net/socket/socket_posix.h"
#include "net/socket/unix_domain_server_socket_posix.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -182,7 +182,7 @@ TEST_F(UnixDomainClientSocketTest, ConnectWithSocketDescriptor) {
// to be sure it hasn't gotten accidentally closed.
SockaddrStorage addr;
ASSERT_TRUE(UnixDomainClientSocket::FillAddress(socket_path_, false, &addr));
- scoped_ptr<SocketLibevent> adopter(new SocketLibevent);
+ scoped_ptr<SocketPosix> adopter(new SocketPosix);
adopter->AdoptConnectedSocket(client_socket_fd, addr);
UnixDomainClientSocket rewrapped_socket(adopter.Pass());
EXPECT_TRUE(rewrapped_socket.IsConnected());
@@ -281,7 +281,7 @@ TEST_F(UnixDomainClientSocketTest, DisconnectFromClient) {
// Connection closed by peer.
EXPECT_EQ(0 /* EOF */, read_callback.WaitForResult());
// Note that read callback won't be called when the connection is closed
- // locally before the peer closes it. SocketLibevent just clears callbacks.
+ // locally before the peer closes it. SocketPosix just clears callbacks.
}
TEST_F(UnixDomainClientSocketTest, DisconnectFromServer) {
@@ -314,7 +314,7 @@ TEST_F(UnixDomainClientSocketTest, DisconnectFromServer) {
// Connection closed by peer.
EXPECT_EQ(0 /* EOF */, read_callback.WaitForResult());
// Note that read callback won't be called when the connection is closed
- // locally before the peer closes it. SocketLibevent just clears callbacks.
+ // locally before the peer closes it. SocketPosix just clears callbacks.
}
TEST_F(UnixDomainClientSocketTest, ReadAfterWrite) {
« no previous file with comments | « net/socket/unix_domain_client_socket_posix.cc ('k') | net/socket/unix_domain_server_socket_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698