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

Unified Diff: net/socket/tcp_client_socket_win.h

Issue 22188002: Cleanup the Win overlapped reads vs. non-blocking reads by removing the overlapped read code path (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 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 | « chrome/renderer/page_load_histograms.cc ('k') | net/socket/tcp_client_socket_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_client_socket_win.h
===================================================================
--- net/socket/tcp_client_socket_win.h (revision 215603)
+++ net/socket/tcp_client_socket_win.h (working copy)
@@ -70,10 +70,6 @@
virtual bool SetKeepAlive(bool enable, int delay);
virtual bool SetNoDelay(bool no_delay);
- // Perform reads in non-blocking mode instead of overlapped mode.
- // Used for experiments.
- static void DisableOverlappedReads();
-
private:
// State machine for connecting the socket.
enum ConnectState {
@@ -105,7 +101,6 @@
void DoReadCallback(int rv);
void DoWriteCallback(int rv);
void DidCompleteConnect();
- void DidCompleteRead();
void DidCompleteWrite();
void DidSignalRead();
« no previous file with comments | « chrome/renderer/page_load_histograms.cc ('k') | net/socket/tcp_client_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698