diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-07 01:25:01 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-07 01:25:01 +0000 |
commit | da1e204fa55509cbb95fa215e53824b37ef54077 (patch) | |
tree | 3b8d9c929d848fdfe12a7a497422715ece944a14 /net/http | |
parent | 35c812c0ad37a218adaae64bac4bb9a8f72a19b5 (diff) | |
download | chromium_src-da1e204fa55509cbb95fa215e53824b37ef54077.zip chromium_src-da1e204fa55509cbb95fa215e53824b37ef54077.tar.gz chromium_src-da1e204fa55509cbb95fa215e53824b37ef54077.tar.bz2 |
Add two more error codes to net.
BUG=9952
TEST=none
Review URL: http://codereview.chromium.org/115006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15488 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc index 46bb64c..a5078de 100644 --- a/net/http/http_cache.cc +++ b/net/http/http_cache.cc @@ -688,7 +688,7 @@ int HttpCache::Transaction::BeginNetworkRequest() { network_trans_.reset(cache_->network_layer_->CreateTransaction()); if (!network_trans_.get()) - return net::ERR_FAILED; + return net::ERR_CACHE_CANNOT_CREATE_NETWORK_TRANSACTION; int rv = network_trans_->Start(request_, &network_info_callback_); if (rv != ERR_IO_PENDING) @@ -785,7 +785,7 @@ int HttpCache::Transaction::ReadResponseInfoFromEntry() { DCHECK(entry_); if (!HttpCache::ReadResponseInfo(entry_->disk_entry, &response_)) - return ERR_FAILED; + return ERR_CACHE_READ_FAILURE; // If the cache object is used for media file, we want the file handle of // response data. |