File tree 2 files changed +0
-8
lines changed
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 43
43
#include " net/socket/socket_posix.h"
44
44
#include " net/socket/socket_tag.h"
45
45
#include " net/traffic_annotation/network_traffic_annotation.h"
46
- #include " third_party/perfetto/include/perfetto/tracing/string_helpers.h"
47
46
48
47
#if BUILDFLAG(IS_ANDROID)
49
48
#include " net/android/network_library.h"
@@ -466,9 +465,6 @@ void TCPSocketPosix::Close() {
466
465
// trace event for this case so that it can be correlated with jank in traces.
467
466
// Use the "base" category since "net" isn't enabled by default. See
468
467
// https://crbug.com/1194888.
469
- TRACE_EVENT (" base" , PeerIsZeroIPv4 (*this )
470
- ? perfetto::StaticString{" CloseSocketTCP.PeerIsZero" }
471
- : perfetto::StaticString{" CloseSocketTCP" });
472
468
#endif // BUILDFLAG(IS_APPLE) && !BUILDFLAG(CRONET_BUILD)
473
469
socket_.reset ();
474
470
tag_ = SocketTag ();
Original file line number Diff line number Diff line change 56
56
#include " net/socket/socket_tag.h"
57
57
#include " net/socket/udp_net_log_parameters.h"
58
58
#include " net/traffic_annotation/network_traffic_annotation.h"
59
- #include " third_party/perfetto/include/perfetto/tracing/string_helpers.h"
60
59
61
60
#if BUILDFLAG(IS_ANDROID)
62
61
#include " base/native_library.h"
@@ -270,9 +269,6 @@ void UDPSocketPosix::Close() {
270
269
// trace event for this case so that it can be correlated with jank in traces.
271
270
// Use the "base" category since "net" isn't enabled by default. See
272
271
// https://crbug.com/1194888.
273
- TRACE_EVENT (" base" , PeerIsZeroIPv4 (*this )
274
- ? perfetto::StaticString{" CloseSocketUDP.PeerIsZero" }
275
- : perfetto::StaticString{" CloseSocketUDP" });
276
272
277
273
// Attempt to clear errors on the socket so that they are not returned by
278
274
// close(). See https://crbug.com/1151048.
You can’t perform that action at this time.
0 commit comments