blob: 95d0c97c6c5e793e79f0d183202a23ce870cdb19 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_FUCHSIA_COMPONENT_SUPPORT_INSPECT_H_
#define COMPONENTS_FUCHSIA_COMPONENT_SUPPORT_INSPECT_H_
namespace inspect {
class Node;
} // namespace inspect
namespace fuchsia_component_support {
// Publish the Chromium version via the Inspect API. The lifetime of
// |parent| has to be the same as the component it belongs to.
void PublishVersionInfoToInspect(inspect::Node* parent);
} // namespace fuchsia_component_support
#endif // COMPONENTS_FUCHSIA_COMPONENT_SUPPORT_INSPECT_H_