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

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

Issue 2510463002: [Cronet] Retain block passed to setRequestFilterBlock on iOS. (Closed)
Patch Set: Improve tests. 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
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);
mef 2016/11/16 16:32:29 I had to switch to HTTP as platform stack doesn't
g_test_server->RegisterRequestHandler(base::Bind(&EchoHeaderInRequest));
CHECK(g_test_server->Start());
return true;

Powered by Google App Engine
This is Rietveld 408576698