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

Unified Diff: net/socket/fuzzed_socket.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/socket/fuzzed_socket.cc
diff --git a/net/socket/fuzzed_socket.cc b/net/socket/fuzzed_socket.cc
index 0177c83b0a4b35e5747f8458f74fb249a74597ae..40c0adfee26fd03c424e728d4e16bac687e34830 100644
--- a/net/socket/fuzzed_socket.cc
+++ b/net/socket/fuzzed_socket.cc
@@ -36,7 +36,7 @@ const Error kReadWriteErrors[] = {ERR_CONNECTION_CLOSED, ERR_FAILED,
FuzzedSocket::FuzzedSocket(base::FuzzedDataProvider* data_provider,
net::NetLog* net_log)
: data_provider_(data_provider),
- bound_net_log_(BoundNetLog::Make(net_log, NetLogSourceType::SOCKET)),
+ net_log_(NetLogWithSource::Make(net_log, NetLogSourceType::SOCKET)),
remote_address_(IPEndPoint(IPAddress::IPv4Localhost(), 80)),
weak_factory_(this) {}
@@ -207,8 +207,8 @@ int FuzzedSocket::GetLocalAddress(IPEndPoint* address) const {
return OK;
}
-const BoundNetLog& FuzzedSocket::NetLog() const {
- return bound_net_log_;
+const NetLogWithSource& FuzzedSocket::NetLog() const {
+ return net_log_;
}
void FuzzedSocket::SetSubresourceSpeculation() {}

Powered by Google App Engine
This is Rietveld 408576698