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

Unified Diff: net/socket/socket_test_util.cc

Issue 9585026: Add a source id to global NetLog entries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Missed one Created 8 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/proxy/proxy_service.cc ('k') | net/url_request/url_request_throttler_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.cc
===================================================================
--- net/socket/socket_test_util.cc (revision 126769)
+++ net/socket/socket_test_util.cc (working copy)
@@ -636,7 +636,7 @@
MockClientSocket::MockClientSocket(net::NetLog* net_log)
: ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)),
connected_(false),
- net_log_(net::NetLog::Source(), net_log) {
+ net_log_(BoundNetLog::Make(net_log, net::NetLog::SOURCE_NONE)) {
}
bool MockClientSocket::SetReceiveBufferSize(int32 size) {
@@ -1207,7 +1207,7 @@
need_read_data_(true),
pending_buf_(NULL),
pending_buf_len_(0),
- net_log_(net::NetLog::Source(), net_log),
+ net_log_(BoundNetLog::Make(net_log, net::NetLog::SOURCE_NONE)),
ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
DCHECK(data_);
data_->Reset();
« no previous file with comments | « net/proxy/proxy_service.cc ('k') | net/url_request/url_request_throttler_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698