1*6777b538SAndroid Build Coastguard Worker // Copyright 2023 The Chromium Authors 2*6777b538SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 3*6777b538SAndroid Build Coastguard Worker // found in the LICENSE file. 4*6777b538SAndroid Build Coastguard Worker 5*6777b538SAndroid Build Coastguard Worker #ifndef COMPONENTS_METRICS_METRICS_SHUTDOWN_H_ 6*6777b538SAndroid Build Coastguard Worker #define COMPONENTS_METRICS_METRICS_SHUTDOWN_H_ 7*6777b538SAndroid Build Coastguard Worker 8*6777b538SAndroid Build Coastguard Worker #include "components/prefs/pref_service.h" 9*6777b538SAndroid Build Coastguard Worker 10*6777b538SAndroid Build Coastguard Worker namespace metrics { 11*6777b538SAndroid Build Coastguard Worker 12*6777b538SAndroid Build Coastguard Worker // Does some final work before the browser shuts down. Note that this may not be 13*6777b538SAndroid Build Coastguard Worker // called on all platforms (e.g. on Android, where there is no clean shutdown 14*6777b538SAndroid Build Coastguard Worker // path). 15*6777b538SAndroid Build Coastguard Worker void Shutdown(PrefService* local_state); 16*6777b538SAndroid Build Coastguard Worker 17*6777b538SAndroid Build Coastguard Worker } // namespace metrics 18*6777b538SAndroid Build Coastguard Worker 19*6777b538SAndroid Build Coastguard Worker #endif // COMPONENTS_METRICS_METRICS_SHUTDOWN_H_ 20