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

Unified Diff: runtime/bin/socket_base_win.cc

Issue 2809153003: Added sync_socket.h include in sync_socket_win.cc (Closed)
Patch Set: Created 3 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 | « no previous file | runtime/bin/sync_socket_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_base_win.cc
diff --git a/runtime/bin/socket_base_win.cc b/runtime/bin/socket_base_win.cc
index 5c53d86285406b646fd9ad4a9ac21d410b8a2c5c..c96025350e7f76d603cd29ca35829d7d762a394f 100644
--- a/runtime/bin/socket_base_win.cc
+++ b/runtime/bin/socket_base_win.cc
@@ -174,32 +174,14 @@ intptr_t SocketBase::GetStdioHandle(intptr_t num) {
if (handle == INVALID_HANDLE_VALUE) {
return -1;
}
-<<<<<<< HEAD
StdHandle* std_handle = StdHandle::Stdin(handle);
std_handle->Retain();
-=======
- StdHandle* std_handle = new StdHandle(handle);
->>>>>>> Revert "Reverting until bots clear up."
std_handle->MarkDoesNotSupportOverlappedIO();
std_handle->EnsureInitialized(EventHandler::delegate());
return reinterpret_cast<intptr_t>(std_handle);
}
-<<<<<<< HEAD
-=======
-intptr_t ServerSocket::Accept(intptr_t fd) {
- ListenSocket* listen_socket = reinterpret_cast<ListenSocket*>(fd);
- ClientSocket* client_socket = listen_socket->Accept();
- if (client_socket != NULL) {
- return reinterpret_cast<intptr_t>(client_socket);
- } else {
- return -1;
- }
-}
-
-
->>>>>>> Revert "Reverting until bots clear up."
AddressList<SocketAddress>* SocketBase::LookupAddress(const char* host,
int type,
OSError** os_error) {
« no previous file with comments | « no previous file | runtime/bin/sync_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698