summaryrefslogtreecommitdiff
path: root/chromium/fuchsia/base/inspect.h
blob: 4d8d35335eeeec0355d02abf1f8061e90454f12e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2020 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.

#ifndef FUCHSIA_BASE_INSPECT_H_
#define FUCHSIA_BASE_INSPECT_H_

namespace sys {
class ComponentInspector;
}  // namespace sys

namespace cr_fuchsia {

// Publish the Chromium version via the Inspect API. The lifetime of
// |inspector| has to be the same as the component it belongs to.
void PublishVersionInfoToInspect(sys::ComponentInspector* inspector);

}  // namespace cr_fuchsia

#endif  // FUCHSIA_BASE_INSPECT_H_