1 // Copyright 2020 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_FUCHSIA_COMPONENT_SUPPORT_INSPECT_H_
6 #define COMPONENTS_FUCHSIA_COMPONENT_SUPPORT_INSPECT_H_
9 class ComponentInspector;
12 namespace fuchsia_component_support {
14 // Publish the Chromium version via the Inspect API. The lifetime of
15 // |inspector| has to be the same as the component it belongs to.
16 void PublishVersionInfoToInspect(sys::ComponentInspector* inspector);
18 } // namespace fuchsia_component_support
20 #endif // COMPONENTS_FUCHSIA_COMPONENT_SUPPORT_INSPECT_H_