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

Unified Diff: net/http/http_transaction_test_util.cc

Issue 2854433002: Combine and make const RequiresValidation() and ConditionalizeRequest().
Patch Set: Restructure code, execute todos, fix GetConnectionAttempts. Created 3 years, 8 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
« net/http/http_cache_transaction.cc ('K') | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction_test_util.cc
diff --git a/net/http/http_transaction_test_util.cc b/net/http/http_transaction_test_util.cc
index a5b57461df5a2e49568fa045bc285f9d01e006bc..2d9c7be7f182adfd86f470bad8c6799ed2716010 100644
--- a/net/http/http_transaction_test_util.cc
+++ b/net/http/http_transaction_test_util.cc
@@ -488,7 +488,8 @@ int MockNetworkTransaction::ResumeNetworkStart() {
void MockNetworkTransaction::GetConnectionAttempts(
ConnectionAttempts* out) const {
- NOTIMPLEMENTED();
+ // A mock transaction makes no connection attempts.
+ return;
}
void MockNetworkTransaction::CallbackLater(const CompletionCallback& callback,
« net/http/http_cache_transaction.cc ('K') | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698