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

Unified Diff: net/http/http_transaction_test_util.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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_test_util.cc
diff --git a/net/http/http_transaction_test_util.cc b/net/http/http_transaction_test_util.cc
index c1db33da1518b20230a2d4821acd24cdf82f2b5f..335b92efa8a8e9fcb6d9d3febcd1fbcd3c1d520d 100644
--- a/net/http/http_transaction_test_util.cc
+++ b/net/http/http_transaction_test_util.cc
@@ -163,7 +163,7 @@ TestTransactionConsumer::~TestTransactionConsumer() {
}
void TestTransactionConsumer::Start(const HttpRequestInfo* request,
- const BoundNetLog& net_log) {
+ const NetLogWithSource& net_log) {
state_ = STARTING;
int result = trans_->Start(
request, base::Bind(&TestTransactionConsumer::OnIOComplete,
@@ -239,7 +239,7 @@ MockNetworkTransaction::~MockNetworkTransaction() {}
int MockNetworkTransaction::Start(const HttpRequestInfo* request,
const CompletionCallback& callback,
- const BoundNetLog& net_log) {
+ const NetLogWithSource& net_log) {
if (request_)
return ERR_FAILED;
@@ -271,7 +271,7 @@ int MockNetworkTransaction::RestartWithAuth(
// Let the MockTransactionHandler worry about this: the only way for this
// test to succeed is by using an explicit handler for the transaction so
// that server behavior can be simulated.
- return StartInternal(&auth_request_info, callback, BoundNetLog());
+ return StartInternal(&auth_request_info, callback, NetLogWithSource());
}
void MockNetworkTransaction::PopulateNetErrorDetails(
@@ -400,7 +400,7 @@ const int64_t MockNetworkTransaction::kTotalSentBytes = 100;
int MockNetworkTransaction::StartInternal(const HttpRequestInfo* request,
const CompletionCallback& callback,
- const BoundNetLog& net_log) {
+ const NetLogWithSource& net_log) {
const MockTransaction* t = FindMockTransaction(request->url);
if (!t)
return ERR_FAILED;

Powered by Google App Engine
This is Rietveld 408576698