blob: 2a1be825f4f88997ac54c6f4fd9db4ab20f008eb [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// 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 "third_party/perfetto/include/perfetto/tracing/traced_value.h"
namespace content {
void GlobalRequestID::WriteIntoTracedValue(
perfetto::TracedValue context) const {
auto dict = std::move(context).WriteDictionary();
dict.Add("child_id", child_id);
dict.Add("request_id", request_id);
}
} // namespace content