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

Unified Diff: components/cronet/ios/test/test_server.cc

Issue 2510463002: [Cronet] Retain block passed to setRequestFilterBlock on iOS. (Closed)
Patch Set: Address comment. Created 4 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
« no previous file with comments | « components/cronet/ios/test/cronet_http_test.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/test/test_server.cc
diff --git a/components/cronet/ios/test/test_server.cc b/components/cronet/ios/test/test_server.cc
index f4d8d137648e03684570b6cdd83414369913e1c8..460d18d82a9cbba2dda62c336f87f08170723868 100644
--- a/components/cronet/ios/test/test_server.cc
+++ b/components/cronet/ios/test/test_server.cc
@@ -44,7 +44,7 @@ namespace cronet {
bool TestServer::Start() {
DCHECK(!g_test_server.get());
g_test_server = base::MakeUnique<net::EmbeddedTestServer>(
- net::EmbeddedTestServer::TYPE_HTTPS);
+ net::EmbeddedTestServer::TYPE_HTTP);
g_test_server->RegisterRequestHandler(base::Bind(&EchoHeaderInRequest));
CHECK(g_test_server->Start());
return true;
« no previous file with comments | « components/cronet/ios/test/cronet_http_test.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698