| Index: net/http/http_network_layer.cc
|
| ===================================================================
|
| --- net/http/http_network_layer.cc (revision 2439)
|
| +++ net/http/http_network_layer.cc (working copy)
|
| @@ -4,10 +4,14 @@
|
|
|
| #include "net/http/http_network_layer.h"
|
|
|
| +#include "base/basictypes.h"
|
| #include "base/logging.h"
|
| #include "net/base/client_socket_factory.h"
|
| #include "net/http/http_network_session.h"
|
| +// TODO(port): Port http_network_transaction and remove #if.
|
| +#if defined(OS_WIN)
|
| #include "net/http/http_network_transaction.h"
|
| +#endif
|
| #include "net/proxy/proxy_resolver_fixed.h"
|
| #if defined(OS_WIN)
|
| #include "net/http/http_transaction_winhttp.h"
|
| @@ -63,11 +67,16 @@
|
| }
|
|
|
| HttpTransaction* HttpNetworkLayer::CreateTransaction() {
|
| +#if defined(OS_WIN)
|
| if (suspended_)
|
| return NULL;
|
|
|
| return new HttpNetworkTransaction(
|
| session_, ClientSocketFactory::GetDefaultFactory());
|
| +#else
|
| + NOTIMPLEMENTED();
|
| + return NULL;
|
| +#endif
|
| }
|
|
|
| HttpCache* HttpNetworkLayer::GetCache() {
|
|
|