summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/chromium_http
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-03-09 14:41:28 -0800
committerAndreas Huber <andih@google.com>2011-03-09 14:47:20 -0800
commit70fcf534d3fb6faa3aaa8061fc87f720c396e7ae (patch)
treedcb62d661dc156272910766e4c7a86e5a6dbf15b /media/libstagefright/chromium_http
parent72fee698602ede6f6b64b77c0f1f28d96ff673d3 (diff)
downloadframeworks_av-70fcf534d3fb6faa3aaa8061fc87f720c396e7ae.zip
frameworks_av-70fcf534d3fb6faa3aaa8061fc87f720c396e7ae.tar.gz
frameworks_av-70fcf534d3fb6faa3aaa8061fc87f720c396e7ae.tar.bz2
Support http authentication ala http://foo:bar@host.org in stagefright.
Change-Id: I0b20077ad540ec8aa11adf0ca9f4142ea8b8ae98
Diffstat (limited to 'media/libstagefright/chromium_http')
-rw-r--r--media/libstagefright/chromium_http/support.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libstagefright/chromium_http/support.cpp b/media/libstagefright/chromium_http/support.cpp
index 8b9da6e..7ac56e8 100644
--- a/media/libstagefright/chromium_http/support.cpp
+++ b/media/libstagefright/chromium_http/support.cpp
@@ -26,6 +26,7 @@
#include "base/thread.h"
#include "net/base/host_resolver.h"
#include "net/base/ssl_config_service.h"
+#include "net/http/http_auth_handler_factory.h"
#include "net/http/http_cache.h"
#include "net/proxy/proxy_config_service_android.h"
@@ -130,7 +131,7 @@ SfRequestContext::SfRequestContext() {
dns_cert_checker_.get(),
proxy_service_.get(),
ssl_config_service_.get(),
- NULL, // http_auth_handler_factory
+ net::HttpAuthHandlerFactory::CreateDefault(host_resolver_),
network_delegate_,
net_log_,
NULL); // backend_factory