1 // Copyright 2023 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. 4 5 #ifndef COMPONENTS_METRICS_METRICS_SHUTDOWN_H_ 6 #define COMPONENTS_METRICS_METRICS_SHUTDOWN_H_ 7 8 #include "components/prefs/pref_service.h" 9 10 namespace metrics { 11 12 // Does some final work before the browser shuts down. Note that this may not be 13 // called on all platforms (e.g. on Android, where there is no clean shutdown 14 // path). 15 void Shutdown(PrefService* local_state); 16 17 } // namespace metrics 18 19 #endif // COMPONENTS_METRICS_METRICS_SHUTDOWN_H_ 20