Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: net/http/http_transaction_unittest.h

Issue 10872044: Retry failed network requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix bug Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction_unittest.h
===================================================================
--- net/http/http_transaction_unittest.h (revision 152798)
+++ net/http/http_transaction_unittest.h (working copy)
@@ -48,6 +48,11 @@
std::string* response_data);
struct MockTransaction {
+ // Net error code returned as a result of starting the transaction. If not
+ // net::OK, all response-related fields will be ignored. Must not be
+ // ERR_IO_PENDING.
+ net::Error start_result;
+
const char* url;
const char* method;
// If |request_time| is unspecified, the current time will be used.
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698