summaryrefslogtreecommitdiffstats
path: root/chromium/components/metrics/metrics_shutdown.h
blob: 6301c34cce5a72863391a49a0d690377ba6307c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2023 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_METRICS_METRICS_SHUTDOWN_H_
#define COMPONENTS_METRICS_METRICS_SHUTDOWN_H_

#include "components/prefs/pref_service.h"

namespace metrics {

// Does some final work before the browser shuts down. Note that this may not be
// called on all platforms (e.g. on Android, where there is no clean shutdown
// path).
void Shutdown(PrefService* local_state);

}  // namespace metrics

#endif  // COMPONENTS_METRICS_METRICS_SHUTDOWN_H_