summaryrefslogtreecommitdiffstats
path: root/ipc/sync_socket_unittest.cc
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 16:04:38 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 16:04:38 +0000
commit2d71bd10643da807fe2407a48b02629207d7b70d (patch)
treecf067d567c233b2a0dbebc4bec189019bdd73719 /ipc/sync_socket_unittest.cc
parenta4f9cd88e3ab5b58474514ceb755fbb877f4cba9 (diff)
downloadchromium_src-2d71bd10643da807fe2407a48b02629207d7b70d.zip
chromium_src-2d71bd10643da807fe2407a48b02629207d7b70d.tar.gz
chromium_src-2d71bd10643da807fe2407a48b02629207d7b70d.tar.bz2
Add support for sockets that can listen and accept a connection.
These sockets allow one connection at a time, however clients can connect and disconnect repeatedly. These are going to be used by Cloud Print, Remoting and Automation. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/5749001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/sync_socket_unittest.cc')
-rw-r--r--ipc/sync_socket_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/sync_socket_unittest.cc b/ipc/sync_socket_unittest.cc
index 9448487..451f307 100644
--- a/ipc/sync_socket_unittest.cc
+++ b/ipc/sync_socket_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/sync_socket.h"
+
#include <stdio.h>
#include <string>
#include <sstream>
@@ -12,7 +14,6 @@
#endif // defined(OS_LINUX) || defined(OS_MACOSX)
#include "base/platform_thread.h"
#include "base/process_util.h"
-#include "base/sync_socket.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_message_utils.h"