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

Unified Diff: net/http/http_transaction_unittest.h

Issue 12310075: Cache failover to LOAD_PREFERRING_CACHE if network response suggests offline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. Created 7 years, 9 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_response_info.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
diff --git a/net/http/http_transaction_unittest.h b/net/http/http_transaction_unittest.h
index 693b72089be4c4b695423725b71035eb5c692cb1..2a4df1a4df30d5baeb2d0dfdd2d292e9a596aa21 100644
--- a/net/http/http_transaction_unittest.h
+++ b/net/http/http_transaction_unittest.h
@@ -63,6 +63,9 @@ struct MockTransaction {
int test_mode;
MockTransactionHandler handler;
net::CertStatus cert_status;
+ // Value returned by MockNetworkTransaction::Start (potentially
+ // asynchronously if |!(test_mode & TEST_MODE_SYNC_NET_START)|.)
+ net::Error return_code;
};
extern const MockTransaction kSimpleGET_Transaction;
« no previous file with comments | « net/http/http_response_info.cc ('k') | net/http/http_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698