#include "services/network/public/mojom/service_worker_router_info.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "services/network/public/mojom/service_worker_router_info.mojom-params-data.h"
namespace network {
namespace mojom {
NOINLINE static const char* ServiceWorkerRouterSourceTypeToStringHelper(ServiceWorkerRouterSourceType value) { … }
std::string ServiceWorkerRouterSourceTypeToString(ServiceWorkerRouterSourceType value) { … }
std::ostream& operator<<(std::ostream& os, ServiceWorkerRouterSourceType value) { … }
NOINLINE static const char* ServiceWorkerStatusToStringHelper(ServiceWorkerStatus value) { … }
std::string ServiceWorkerStatusToString(ServiceWorkerStatus value) { … }
std::ostream& operator<<(std::ostream& os, ServiceWorkerStatus value) { … }
namespace internal {
bool ServiceWorkerRouterInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerRouterInfo_Data::ServiceWorkerRouterInfo_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::network::mojom::ServiceWorkerRouterSourceType>::WriteIntoTrace(
perfetto::TracedValue context, ::network::mojom::ServiceWorkerRouterSourceType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::network::mojom::ServiceWorkerStatus>::WriteIntoTrace(
perfetto::TracedValue context, ::network::mojom::ServiceWorkerStatus value) { … }
}