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

Unified Diff: ipc/ipc_tests.cc

Issue 418004: This adds the first version of SyncSocket to base, along with a trivial unitt... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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: ipc/ipc_tests.cc
===================================================================
--- ipc/ipc_tests.cc (revision 32457)
+++ ipc/ipc_tests.cc (working copy)
@@ -42,6 +42,7 @@
const char kTestClientChannel[] = "T1";
const char kReflectorChannel[] = "T2";
const char kFuzzerChannel[] = "F3";
+const char kSyncSocketChannel[] = "S4";
const size_t kLongMessageStringNumBytes = 50000;
@@ -78,6 +79,9 @@
case FUZZER_SERVER:
return MultiProcessTest::SpawnChild(L"RunFuzzServer", debug_on_start);
break;
+ case SYNC_SOCKET_SERVER:
+ return MultiProcessTest::SpawnChild(L"RunSyncSocketServer", debug_on_start);
+ break;
default:
return NULL;
break;
@@ -123,6 +127,11 @@
fds_to_map,
debug_on_start);
break;
+ case SYNC_SOCKET_SERVER:
+ ret = MultiProcessTest::SpawnChild(L"RunSyncSocketServer",
+ fds_to_map,
+ debug_on_start);
+ break;
default:
return NULL;
break;
« base/sync_socket.h ('K') | « ipc/ipc_tests.h ('k') | ipc/sync_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698