File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 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"
@@ -464,9 +463,6 @@ void TCPSocketPosix::Close() {
464
463
// trace event for this case so that it can be correlated with jank in traces.
465
464
// Use the "base" category since "net" isn't enabled by default. See
466
465
// https://crbug.com/1194888.
467
- TRACE_EVENT (" base" , PeerIsZeroIPv4 (*this )
468
- ? perfetto::StaticString{" CloseSocketTCP.PeerIsZero" }
469
- : perfetto::StaticString{" CloseSocketTCP" });
470
466
#endif // BUILDFLAG(IS_APPLE) && !BUILDFLAG(CRONET_BUILD)
471
467
socket_.reset ();
472
468
tag_ = SocketTag ();
Original file line number Diff line number Diff line change 54
54
#include " net/socket/socket_tag.h"
55
55
#include " net/socket/udp_net_log_parameters.h"
56
56
#include " net/traffic_annotation/network_traffic_annotation.h"
57
- #include " third_party/perfetto/include/perfetto/tracing/string_helpers.h"
58
57
59
58
#if BUILDFLAG(IS_ANDROID)
60
59
#include " base/native_library.h"
@@ -252,9 +251,6 @@ void UDPSocketPosix::Close() {
252
251
// trace event for this case so that it can be correlated with jank in traces.
253
252
// Use the "base" category since "net" isn't enabled by default. See
254
253
// https://crbug.com/1194888.
255
- TRACE_EVENT (" base" , PeerIsZeroIPv4 (*this )
256
- ? perfetto::StaticString{" CloseSocketUDP.PeerIsZero" }
257
- : perfetto::StaticString{" CloseSocketUDP" });
258
254
259
255
// Attempt to clear errors on the socket so that they are not returned by
260
256
// close(). This seems to be effective at clearing some, but not all,
You can’t perform that action at this time.
0 commit comments