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

Unified Diff: chrome_frame/test/test_with_web_server.cc

Issue 10161005: Add DefaultListenSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build on Windows Created 8 years, 7 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_frame/test/test_server.cc ('k') | net/base/listen_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/test_with_web_server.cc
diff --git a/chrome_frame/test/test_with_web_server.cc b/chrome_frame/test/test_with_web_server.cc
index 72e854ee9fcec3af823768b7b4cb8c3de25cc60f..c56b60c51ffe9b93346bed9885222861ca4877b9 100644
--- a/chrome_frame/test/test_with_web_server.cc
+++ b/chrome_frame/test/test_with_web_server.cc
@@ -22,6 +22,7 @@
#include "chrome_frame/test/mock_ie_event_sink_test.h"
#include "chrome_frame/test/test_scrubber.h"
#include "net/base/mime_util.h"
+#include "net/base/stream_listen_socket.h"
#include "net/http/http_util.h"
using chrome_frame_test::kChromeFrameLongNavigationTimeout;
@@ -879,7 +880,7 @@ class UaTemplateFileResponse : public test_server::FileResponse {
return content_.length();
}
- virtual void WriteContents(net::ListenSocket* socket) const {
+ virtual void WriteContents(net::StreamListenSocket* socket) const {
DCHECK(content_.length());
socket->Send(content_.c_str(), content_.length(), false);
request_id_++;
@@ -1005,7 +1006,7 @@ TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_TestDownloadFromForm) {
return match;
}
- virtual void WriteContents(net::ListenSocket* socket) const {
+ virtual void WriteContents(net::StreamListenSocket* socket) const {
if (is_post_) {
socket->Send(kText, sizeof(kText) - 1, false);
} else {
« no previous file with comments | « chrome_frame/test/test_server.cc ('k') | net/base/listen_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698