summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_layer.cc
diff options
context:
space:
mode:
authorwtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 21:37:21 +0000
committerwtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 21:37:21 +0000
commit669f1476f3c5cf464e7b82d6338ba7ae41bf8ce0 (patch)
tree319f6e3d4e70acfa143e9a28b05fafb0ec630366 /net/http/http_network_layer.cc
parent1a14188b1eb6a595da3e2f012e9223ca2b55f590 (diff)
downloadchromium_src-669f1476f3c5cf464e7b82d6338ba7ae41bf8ce0.zip
chromium_src-669f1476f3c5cf464e7b82d6338ba7ae41bf8ce0.tar.gz
chromium_src-669f1476f3c5cf464e7b82d6338ba7ae41bf8ce0.tar.bz2
Remove HttpTransactionWinHttp and the --winhttp command-line
switch. Remove WinHttpThrottle and CertStatusCache, which are only used by HttpTransactionWinHttp. Fix nits reported by cpplint.py. R=eroman,darin BUG=6323 Review URL: http://codereview.chromium.org/17635 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_layer.cc')
-rw-r--r--net/http/http_network_layer.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc
index 2b84682..23f53f7 100644
--- a/net/http/http_network_layer.cc
+++ b/net/http/http_network_layer.cc
@@ -8,38 +8,19 @@
#include "net/base/client_socket_factory.h"
#include "net/http/http_network_session.h"
#include "net/http/http_network_transaction.h"
-#if defined(OS_WIN)
-#include "net/http/http_transaction_winhttp.h"
-#endif
namespace net {
//-----------------------------------------------------------------------------
-#if defined(OS_WIN)
-// static
-bool HttpNetworkLayer::use_winhttp_ = false;
-#endif
-
// static
HttpTransactionFactory* HttpNetworkLayer::CreateFactory(
ProxyService* proxy_service) {
DCHECK(proxy_service);
-#if defined(OS_WIN)
- if (use_winhttp_)
- return new HttpTransactionWinHttp::Factory(proxy_service);
-#endif
return new HttpNetworkLayer(proxy_service);
}
-#if defined(OS_WIN)
-// static
-void HttpNetworkLayer::UseWinHttp(bool value) {
- use_winhttp_ = value;
-}
-#endif
-
//-----------------------------------------------------------------------------
HttpNetworkLayer::HttpNetworkLayer(ProxyService* proxy_service)