diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-23 15:32:48 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-23 15:32:48 +0000 |
commit | 205e01d8f232e29dad081ba47508e56f5ecede86 (patch) | |
tree | 0ff0939465502cfe9a01af35f0c68380e6c18693 /net | |
parent | d137d54c9f90b06bfbbc6dcd7cb9b514b857fdac (diff) | |
download | chromium_src-205e01d8f232e29dad081ba47508e56f5ecede86.zip chromium_src-205e01d8f232e29dad081ba47508e56f5ecede86.tar.gz chromium_src-205e01d8f232e29dad081ba47508e56f5ecede86.tar.bz2 |
Stubbing out the network transaction until more of that pipeline works. Allows testShell to link.
Review URL: http://codereview.chromium.org/4216
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_network_layer.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc index 9b2c468..9b38867 100644 --- a/net/http/http_network_layer.cc +++ b/net/http/http_network_layer.cc @@ -7,7 +7,9 @@ #include "base/logging.h" #include "net/base/client_socket_factory.h" #include "net/http/http_network_session.h" +#if !defined(OS_MACOSX) #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" @@ -66,8 +68,15 @@ HttpTransaction* HttpNetworkLayer::CreateTransaction() { if (suspended_) return NULL; +#if !defined(OS_MACOSX) return new HttpNetworkTransaction( session_, ClientSocketFactory::GetDefaultFactory()); +#else +// TODO(pinkerton): Stubbing out to get TestShell to link. We'll bring this +// back in once we get more of the net pipeline worked out. + NOTIMPLEMENTED(); + return NULL; +#endif } HttpCache* HttpNetworkLayer::GetCache() { |