| // Copyright 2018 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 CHROME_BROWSER_METRICS_PERSISTENT_HISTOGRAMS_H_ |
| #define CHROME_BROWSER_METRICS_PERSISTENT_HISTOGRAMS_H_ |
| |
| // Persistent browser metrics need to be persisted somewhere. This constant |
| // provides a known string to be used for both the allocator's internal name |
| // and for a file on disk (relative to chrome::DIR_USER_DATA) to which they |
| // can be saved. This is exported so the name can also be used as a "pref" |
| // during configuration. |
| extern const char kBrowserMetricsName[]; |
| |
| // Do all the checking and work necessary to enable persistent histograms. |
| void InstantiatePersistentHistograms(); |
| |
| #endif // CHROME_BROWSER_METRICS_PERSISTENT_HISTOGRAMS_H_ |