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

Unified Diff: net/http/http_transaction_unittest.cc

Issue 122453002: Allows deferral of a URLRequest just before talking to the network, at (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting nits Created 6 years, 11 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
Index: net/http/http_transaction_unittest.cc
diff --git a/net/http/http_transaction_unittest.cc b/net/http/http_transaction_unittest.cc
index 757ee76ca91738cc1059875dd6efaa37442316fd..5d40dad0a4696a7d38937f74aac66a559d3107b2 100644
--- a/net/http/http_transaction_unittest.cc
+++ b/net/http/http_transaction_unittest.cc
@@ -412,6 +412,15 @@ int MockNetworkTransaction::StartInternal(
return net::ERR_IO_PENDING;
}
+void MockNetworkTransaction::SetBeforeNetworkStartCallback(
+ const base::Callback<void(bool*)>& callback) {
+}
+
+int MockNetworkTransaction::ResumeNetworkStart() {
+ // should not get here
+ return net::ERR_FAILED;
+}
+
void MockNetworkTransaction::CallbackLater(
const net::CompletionCallback& callback, int result) {
base::MessageLoop::current()->PostTask(

Powered by Google App Engine
This is Rietveld 408576698