net: shim tracing calls

Create and include net/base/base_tracing.h &
net/base/trace_event_stub.h instead of perfetto headers. This way
Cronet can drop the perfetto dependency, considerably reducing it's
binary size.

This change must atomically change Cronet's build GN args as these
changes assume also that enable_base_tracing=false for Cronet builds.
For this same reason, gpu/BUILD.gn must be modified atomically.

Bug: 1427440
Cq-Include-Trybots: luci.chromium.try:android-cronet-arm-dbg,ios-m1-simulator-cronet,android_cronet,android-cronet-x86-rel-kitkat-tests,android-cronet-x86-rel,android-cronet-x86-dbg-pie-tests,android-cronet-x86-dbg-11-tests,android-cronet-x86-dbg-10-tests,android-cronet-x86-dbg,android-cronet-arm64-rel,android-cronet-arm64-dbg
Change-Id: Iaac9afa3176772474ee3616f6e240cb7cb24aacf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4365859
Reviewed-by: Adam Rice <[email protected]>
Reviewed-by: Vasiliy Telezhnikov <[email protected]>
Code-Coverage: Findit <[email protected]>
Reviewed-by: Ben Pastene <[email protected]>
Commit-Queue: Stefano Duo <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1125409}
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
index a3bab31..1d19c5a 100644
--- a/net/spdy/spdy_session_pool.cc
+++ b/net/spdy/spdy_session_pool.cc
@@ -13,11 +13,11 @@
 #include "base/metrics/histogram_macros.h"
 #include "base/ranges/algorithm.h"
 #include "base/task/single_thread_task_runner.h"
-#include "base/trace_event/trace_event.h"
 #include "base/values.h"
 #include "build/build_config.h"
 #include "net/base/ip_endpoint.h"
 #include "net/base/trace_constants.h"
+#include "net/base/tracing.h"
 #include "net/dns/host_resolver.h"
 #include "net/dns/public/host_resolver_source.h"
 #include "net/http/http_network_session.h"