DescriptionFixes to socket_test_util.cc.
- Removes ref-counting from DelayedSocketData and OrderedSocketData.
- Calls CompleteRead (which reads from underlying data) only if
a Socket::Read call is "blocked" (previously returned with ERR_IO_PENDING).
- Removes unsafe pointers to the handed out sockets (the factory does not own them and cannot guarantee their lifetime).
BUG=110626
TEST=./net_unittests --gtest_filter=Spdy*:Http*:Socket*:WebSocket*:Ftp*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118634
Patch Set 1 #Patch Set 2 : Removed unsafe pointers to sockets. #
Total comments: 7
Patch Set 3 : Renamed blocked_ -> read_in_progress_. #
Messages
Total messages: 14 (0 generated)
|