chromium/content/public/browser/global_request_id.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/public/browser/global_request_id.h"

#include <atomic>

#include "base/check_op.h"
#include "base/compiler_specific.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

namespace content {

void GlobalRequestID::WriteIntoTrace(perfetto::TracedValue context) const {}

// This method must not be inlined, or it might reuse `request_id` values.
//
// static
NOINLINE GlobalRequestID GlobalRequestID::MakeBrowserInitiated() {}

}  // namespace content