diff options
author | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 23:07:02 +0000 |
---|---|---|
committer | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 23:07:02 +0000 |
commit | c47c03736dd5f52be91b5fe10e08a35c27249ac8 (patch) | |
tree | 1a2fadb44a295e0608ffe1516d59fa05330a1ad9 /net/udp/udp_socket_win.cc | |
parent | 24c3938589c45f9425adb2d57c5bde24f06a0f3a (diff) | |
download | chromium_src-c47c03736dd5f52be91b5fe10e08a35c27249ac8.zip chromium_src-c47c03736dd5f52be91b5fe10e08a35c27249ac8.tar.gz chromium_src-c47c03736dd5f52be91b5fe10e08a35c27249ac8.tar.bz2 |
Remove NetLog::LOG_BASIC.
It's only used in test code. Preparatory CL to introduce
a LOG_STRIP_PRIVATE_DATA log level, so we don't have to
break the ordering of levels.
BUG=349502
Review URL: https://codereview.chromium.org/196203002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/udp/udp_socket_win.cc')
-rw-r--r-- | net/udp/udp_socket_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/udp/udp_socket_win.cc b/net/udp/udp_socket_win.cc index f084037..beaf400 100644 --- a/net/udp/udp_socket_win.cc +++ b/net/udp/udp_socket_win.cc @@ -461,7 +461,7 @@ void UDPSocketWin::LogRead(int result, const char* bytes) const { return; } - if (net_log_.IsLoggingAllEvents()) { + if (net_log_.IsLogging()) { // Get address for logging, if |address| is NULL. IPEndPoint address; bool is_address_valid = ReceiveAddressToIPEndpoint(&address); @@ -497,7 +497,7 @@ void UDPSocketWin::LogWrite(int result, return; } - if (net_log_.IsLoggingAllEvents()) { + if (net_log_.IsLogging()) { net_log_.AddEvent( NetLog::TYPE_UDP_BYTES_SENT, CreateNetLogUDPDataTranferCallback(result, bytes, address)); |